|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.bsd.BsdAdapter
public class BsdAdapter
Implements methods for capturing events sourced from Rexec and derived
classes. This class is intended to provide vertical compatibility with
BsdListener interface. Typicaly your application will use this class
instead of BsdListener interface to capture the following events :
BsdConnectedEvent
BsdDisconnectedEvent
BsdBytesTransmittedEvent
BsdBytesReceivedEvent
Constructor Summary | |
---|---|
BsdAdapter()
|
Method Summary | |
---|---|
void |
bytesReceived(BsdBytesReceivedEvent event)
Invoked when data arrives from an InputStream. |
void |
bytesTransmitted(BsdBytesTransmittedEvent event)
Invoked when data is transmitted to an OutputStream. |
void |
connected(BsdConnectedEvent event)
Invoked when connection to BSD r service server is established. |
void |
disconnected(BsdDisconnectedEvent event)
Invoked when connection to BSD r service server is released. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BsdAdapter()
Method Detail |
---|
public void connected(BsdConnectedEvent event)
connected
in interface BsdListener
event
- a BsdConnectedEvent
BsdConnectedEvent
public void disconnected(BsdDisconnectedEvent event)
disconnected
in interface BsdListener
event
- a BsdDisconnectedEvent
BsdDisconnectedEvent
public void bytesTransmitted(BsdBytesTransmittedEvent event)
bytesTransmitted
in interface BsdListener
event
- a BsdBytesTransmittedEvent
public void bytesReceived(BsdBytesReceivedEvent event)
bytesReceived
in interface BsdListener
event
- a BsdBytesReceivedEvent
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |