gr.uoa.di.madgik.commons.channel.proxy.tcp
Class InletProtocol
java.lang.Object
java.lang.Thread
gr.uoa.di.madgik.commons.channel.proxy.tcp.InletProtocol
- All Implemented Interfaces:
- Runnable, Observer
public class InletProtocol
- extends Thread
- implements Observer
This class implements the synchronization protocol for the inlet nozzle sides of a channel.
- Author:
- gpapanikos
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
InletProtocol
public InletProtocol(ChannelRegistryEntry Entry,
Object synchThreadStart)
- Instantiates a new inlet protocol. The instance is set as a daemon thread and is started
- Parameters:
Entry - The ChannelRegistryEntry that represents the channel that is servedsynchThreadStart - the object the client should wait on until the thread is started and a notify is emitted
Dispose
public void Dispose()
- Disposes the protocol state and unregisters from events
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
update
public void update(Observable o,
Object arg)
- Specified by:
update in interface Observer
Copyright © 2013. All Rights Reserved.