Package io.ably.lib.transport
Interface ITransport
- All Known Implementing Classes:
 WebSocketTransport
public interface ITransport
- 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interfacestatic enumstatic class - 
Field Summary
Fields - 
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close this transport.voidconnect(ITransport.ConnectListener connectListener) Initiate a connection attempt; the transport will be activated, and attempt to remain connected, until disconnect() is called.getHost()getURL()Get connection URLvoidreceive(ProtocolMessage msg) voidsend(ProtocolMessage msg) Send a message on the channel 
- 
Field Details
- 
TAG
 
 - 
 - 
Method Details
- 
connect
Initiate a connection attempt; the transport will be activated, and attempt to remain connected, until disconnect() is called.- Throws:
 AblyException
 - 
close
void close()Close this transport. - 
send
Send a message on the channel- Parameters:
 - 
msg- - Throws:
 IOExceptionAblyException
 - 
receive
- Throws:
 AblyException
 - 
getURL
String getURL()Get connection URL- Returns:
 
 - 
getHost
String getHost() 
 -