public class HTTPSessionConnection extends ConnectionBase
Connection
that virtualizes a continuous
message session out of a series of transient HTTP connections.Modifier and Type | Field and Description |
---|---|
static boolean |
TheDebugSessionsFlag
Flag to bypass unguessable ID generation for debugging purposes.
|
theCloseMarker
Modifier and Type | Method and Description |
---|---|
void |
close()
Shut down the connection.
|
void |
sendMsg(Object message)
Send a message to the other end of the connection.
|
void |
setDebugMode(boolean mode)
Turn debug features for this connection on or off.
|
String |
toString()
Get a printable String representation of this connection.
|
connectionDied, enqueueHandlerFactory, enqueueReceivedMessage, id
public static boolean TheDebugSessionsFlag
public void close()
public void sendMsg(Object message)
message
- The message to be sent.public void setDebugMode(boolean mode)
setDebugMode
in interface Connection
setDebugMode
in class ConnectionBase
mode
- If true, turn debug mode on; if false, turn it off.Copyright © 2017. All rights reserved.