-
public interface ITransport
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceITransport.Factorypublic enumITransport.Modepublic classITransport.TransportParamspublic interfaceITransport.ConnectListener
-
Method Summary
Modifier and Type Method Description abstract voidconnect(ITransport.ConnectListener connectListener)Initiate a connection attempt; the transport will be activated,and attempt to remain connected, until disconnect() is called. abstract voidclose()Close this transport. abstract voidsend(ProtocolMessage msg)Send a message on the channel abstract voidreceive(ProtocolMessage msg)abstract StringgetURL()Get connection URL abstract StringgetHost()-
-
Method Detail
-
connect
abstract void connect(ITransport.ConnectListener connectListener)
Initiate a connection attempt; the transport will be activated,and attempt to remain connected, until disconnect() is called.
-
close
abstract void close()
Close this transport.
-
send
abstract void send(ProtocolMessage msg)
Send a message on the channel
-
receive
abstract void receive(ProtocolMessage msg)
-
-
-
-