Package | Description |
---|---|
org.elkoserver.foundation.net |
Classes for message communication over the TCP and HTTP for Elko.
|
org.elkoserver.foundation.server |
Core common server implementation classes for Elko.
|
Modifier and Type | Method and Description |
---|---|
void |
ConnectionManager.connect(String propRoot,
MessageHandlerFactory handlerFactory,
String hostPort)
Make a connection, using this connection manager's communications
modality, to another host given a host:port address.
|
void |
NetworkManager.connectTCP(String hostPort,
MessageHandlerFactory handlerFactory,
ByteIOFramerFactory framerFactory,
Trace trace)
Make a TCP connection to another host given a host:port address.
|
void |
NetworkManager.connectVia(String connectionManagerClassName,
String propRoot,
String hostPort,
MessageHandlerFactory handlerFactory,
Trace msgTrace)
Make a connection to another host given a host:port address using a
named connection manager class.
|
protected void |
ConnectionBase.enqueueHandlerFactory(MessageHandlerFactory handlerFactory)
Enqueue a task to invoke a message handler factory to produce a message
handler for this connection.
|
NetAddr |
ConnectionManager.listen(String propRoot,
String listenAddress,
MessageHandlerFactory handlerFactory,
boolean secure)
Begin listening for incoming connections on some port, using this
connection manager's communications modality.
|
NetAddr |
NetworkManager.listenHTTP(String listenAddress,
MessageHandlerFactory innerHandlerFactory,
String rootURI,
HTTPFramer httpFramer,
boolean secure,
Trace trace)
Begin listening for incoming HTTP connections on some port.
|
NetAddr |
NetworkManager.listenRTCP(String listenAddress,
MessageHandlerFactory innerHandlerFactory,
Trace msgTrace,
boolean secure)
Begin listening for incoming RTCP connections on some port.
|
NetAddr |
NetworkManager.listenTCP(String listenAddress,
MessageHandlerFactory handlerFactory,
ByteIOFramerFactory framerFactory,
boolean secure,
Trace portTrace)
Begin listening for incoming TCP connections on some port.
|
NetAddr |
NetworkManager.listenVia(String connectionManagerClassName,
String propRoot,
String listenAddress,
MessageHandlerFactory handlerFactory,
Trace msgTrace,
boolean secure)
Begin listening for incoming connections on some port using a named
connection manager class.
|
NetAddr |
NetworkManager.listenWebSocket(String listenAddress,
MessageHandlerFactory innerHandlerFactory,
String socketURI,
Trace msgTrace,
boolean secure)
Begin listening for incoming WebSocket connections on some port.
|
Constructor and Description |
---|
ConnectionRetrier(HostDesc host,
String label,
NetworkManager networkManager,
MessageHandlerFactory actualFactory,
Trace appTrace)
Attempt to initiate a connection to another host, with retry on failure.
|
Modifier and Type | Method and Description |
---|---|
MessageHandlerFactory |
ServiceFactory.provideFactory(String label,
AuthDesc auth,
Set<String> allow,
List<String> serviceNames,
String protocol)
Provide a message handler factory for a new listener.
|
Copyright © 2017. All rights reserved.