Package | Description |
---|---|
org.elkoserver.foundation.net |
Classes for message communication over the TCP and HTTP for Elko.
|
Modifier and Type | Class and Description |
---|---|
class |
HTTPRequestByteIOFramerFactory
Byte I/O framer factory for HTTP requests.
|
class |
JSONByteIOFramerFactory
Byte I/O framer factory for JSON messaging over a byte stream.
|
class |
RTCPRequestByteIOFramerFactory
Byte I/O framer factory for RTCP requests.
|
class |
WebSocketByteIOFramerFactory
Byte I/O framer factory for WebSocket connections, a perverse hybrid of HTTP
and TCP.
|
Modifier and Type | Method and Description |
---|---|
void |
NetworkManager.connectTCP(String hostPort,
MessageHandlerFactory handlerFactory,
ByteIOFramerFactory framerFactory,
Trace trace)
Make a TCP connection to another host given a host:port address.
|
NetAddr |
NetworkManager.listenTCP(String listenAddress,
MessageHandlerFactory handlerFactory,
ByteIOFramerFactory framerFactory,
boolean secure,
Trace portTrace)
Begin listening for incoming TCP connections on some port.
|
Copyright © 2017. All rights reserved.