|
Apache REEF
0.15.0
Retainable Evaluator Execution Framework
|
Server to handle incoming remote messages. More...
Inherits IDisposable.
Public Member Functions | |
| TransportServer (IPEndPoint localEndpoint, IObserver< TransportEvent< T >> remoteHandler, ICodec< T > codec, ITcpPortProvider tcpPortProvider) | |
| Constructs a TransportServer to listen for remote events. More... | |
| void | Run () |
| Starts listening for incoming remote messages. More... | |
| void | Dispose () |
| Close the TransportServer and all open connections More... | |
| void | Dispose (bool disposing) |
Properties | |
| IPEndPoint | LocalEndpoint [get] |
| Returns the listening endpoint for the TransportServer More... | |
Server to handle incoming remote messages.
|
inline |
Constructs a TransportServer to listen for remote events.
Listens on the specified remote endpoint. When it receives a remote event, it will invoke the specified remote handler.
| localEndpoint | Endpoint to listen on |
| remoteHandler | The handler to invoke when receiving incoming remote messages |
| codec | The codec to encode/decode |
| tcpPortProvider | provides port numbers to listen |
|
inline |
Close the TransportServer and all open connections
|
inline |
|
inline |
Starts listening for incoming remote messages.
|
get |
Returns the listening endpoint for the TransportServer
1.8.11