Style Intelligence v12.0

inetsoft.sree.schedule
Class Scheduler.MulticastReceiveThread

java.lang.Object
  extended by java.lang.Thread
      extended by inetsoft.util.GroupedThread
          extended by inetsoft.sree.schedule.Scheduler.MulticastReceiveThread
All Implemented Interfaces:
Runnable
Enclosing class:
Scheduler

public abstract static class Scheduler.MulticastReceiveThread
extends inetsoft.util.GroupedThread

Listener thread that handles incoming multicast messages.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Scheduler.MulticastReceiveThread(InetAddress address, int port)
           
 
Method Summary
protected  boolean isOn()
          Check if is on.
protected abstract  Scheduler.MulticastMessage receiveMessage(DatagramPacket packet)
          Receive a multicast message and handle accordingly.
 void run()
           
 
Methods inherited from class inetsoft.util.GroupedThread
addRecord, cancel, cancelAll, dispose, getCreatedStackTrace, getLogLevel, getParent, getParentStackTrace, getPrincipal, getRecord, getRecord, getRecordCount, getStackTrace, isAdministrative, isCancelled, isThreadAdministrative, removeRecord, removeRecords, setAdministrative, setParent, setPrincipal, setThreadAdministrative, start
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Scheduler.MulticastReceiveThread

public Scheduler.MulticastReceiveThread(InetAddress address,
                                        int port)
Method Detail

receiveMessage

protected abstract Scheduler.MulticastMessage receiveMessage(DatagramPacket packet)
                                                      throws Exception
Receive a multicast message and handle accordingly.

Throws:
Exception

isOn

protected boolean isOn()
Check if is on.


run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.