|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of SocketIO in io.socket |
---|
Methods in io.socket that return SocketIO | |
---|---|
SocketIO |
SocketIO.addHeader(java.lang.String key,
java.lang.String value)
Adds an header to the headers |
Methods in io.socket with parameters of type SocketIO | |
---|---|
void |
IOConnection.emit(SocketIO socket,
java.lang.String event,
IOAcknowledge ack,
java.lang.Object... args)
emits an event from SocketIO to the IOTransport . |
boolean |
IOConnection.register(SocketIO socket)
Connects a socket to the IOConnection. |
static IOConnection |
IOConnection.register(java.lang.String origin,
SocketIO socket)
Creates a new connection or returns the corresponding one. |
void |
IOConnection.send(SocketIO socket,
IOAcknowledge ack,
org.json.JSONObject json)
sends a JSON message from SocketIO to the IOTransport . |
void |
IOConnection.send(SocketIO socket,
IOAcknowledge ack,
java.lang.String text)
sends a String message from SocketIO to the IOTransport . |
void |
IOConnection.unregister(SocketIO socket)
Disconnect a socket from the IOConnection. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |