|
jSyncManager | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CMP-DLP protocol transfer interface. This interface needs to be implemented by any protocol that sits underneath the CMP-DLP layer.
Method Summary | |
---|---|
void |
connect()
Method to be called to initialize the connection. |
void |
disconnect()
Disconnects the connection to the underlying communication subsystem. |
GenericPacket |
readPacket()
Reads a packet from the underlying communication subsystem. |
void |
suspendConnection()
Suspends access to the underlying communication subsystem. |
void |
transmitPacket(byte[] date,
byte srcSocket,
byte destSocket)
Transmits a packet to the underlying communication subsystem. |
Method Detail |
public void connect()
public GenericPacket readPacket() throws NotConnectedException
public void transmitPacket(byte[] date, byte srcSocket, byte destSocket) throws NotConnectedException, PADP_PacketTooBigException
data
- the data to transmit.srcSocket
- the socket that was the source of this data (may be ignored).destSocket
- the socket that is the intended destination of this data (may be ignored).public void disconnect()
public void suspendConnection()
|
jSyncManager | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |