public class GridNioClientConnectionMultiplexer extends Object implements ClientConnectionMultiplexer
GridNioServer.| Constructor and Description |
|---|
GridNioClientConnectionMultiplexer(ClientConfiguration cfg)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ClientConnection |
open(InetSocketAddress addr,
ClientMessageHandler msgHnd,
ClientConnectionStateHandler stateHnd)
Opens a new connection.
|
void |
start()
Initializes this instance.
|
void |
stop()
Stops this instance.
|
public GridNioClientConnectionMultiplexer(ClientConfiguration cfg)
cfg - Client config.public void start()
start in interface ClientConnectionMultiplexerpublic void stop()
stop in interface ClientConnectionMultiplexerpublic ClientConnection open(InetSocketAddress addr, ClientMessageHandler msgHnd, ClientConnectionStateHandler stateHnd) throws ClientConnectionException
open in interface ClientConnectionMultiplexeraddr - Address.msgHnd - Incoming message handler.stateHnd - Connection state handler.ClientConnectionException - when connection can't be established.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023