public class DUMMY_TP extends Protocol
Constructor | Description |
---|---|
DUMMY_TP() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
down(Event evt) |
Caller by the layer above this layer.
|
java.lang.String |
getName() |
|
void |
init() |
Called after instance has been created (null constructor) and before protocol is started.
|
void |
start() |
This method is called on a
Channel.connect(String) . |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
destroy, downThreadEnabled, dumpStats, enableStats, getDownProtocol, getProperties, getProtocolStack, getThreadFactory, getTransport, getUpProtocol, printStats, providedDownServices, providedUpServices, requiredDownServices, requiredUpServices, resetStats, setDownProtocol, setProperties, setPropertiesInternal, setProtocolStack, setUpProtocol, statsEnabled, stop, up, upThreadEnabled
public java.lang.String toString()
toString
in class java.lang.Object
public void init() throws java.lang.Exception
Protocol
public void start() throws java.lang.Exception
Protocol
Channel.connect(String)
. Starts work.
Protocols are connected and queues are ready to receive events.
Will be called from bottom to top. This call will replace
the START and START_OK events.start
in class Protocol
java.lang.Exception
- Thrown if protocol cannot be started successfully. This will cause the ProtocolStack
to fail, so Channel.connect(String)
will throw an exceptionpublic java.lang.Object down(Event evt)
Copyright ? 1998-2008 Bela Ban. All Rights Reserved.