public interface ITransport
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ITransport.ConnectListener |
static interface |
ITransport.Factory |
static class |
ITransport.Mode |
static class |
ITransport.TransportParams |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG |
| Modifier and Type | Method and Description |
|---|---|
void |
abort(ErrorInfo reason)
Kill this transport.
|
void |
close(boolean sendDisconnect)
Close this transport.
|
void |
connect(ITransport.ConnectListener connectListener)
Initiate a connection attempt; the transport will be activated,
and attempt to remain connected, until disconnect() is called.
|
java.lang.String |
getHost() |
java.lang.String |
getURL()
Get connection URL
|
void |
send(ProtocolMessage msg)
Send a message on the channel
|
void connect(ITransport.ConnectListener connectListener)
AblyExceptionvoid close(boolean sendDisconnect)
void abort(ErrorInfo reason)
void send(ProtocolMessage msg) throws AblyException
msg - java.io.IOExceptionAblyExceptionjava.lang.String getURL()
java.lang.String getHost()