Uses of Interface
marauroa.common.net.ConnectionManager
Package
Description
This package stores all the serializers to build Messages from a stream of bytes and
from a Message create a stream of bytes representing it.
Network communication.
The package stores the TCP implementation of a network server manager.
-
Uses of ConnectionManager in marauroa.common.net
ModifierConstructorDescriptionChannel(ConnectionManager connectionManager, InetSocketAddress address, Object internalChannel)
creates a new Channel object. -
Uses of ConnectionManager in marauroa.server.net
Modifier and TypeMethodDescriptionvoid
IServerManager.addServer(ConnectionManager server)
Adds a server to the workervoid
NetworkServerManager.addServer(ConnectionManager server)
Associate this object with a server.IServerManager.onConnect(ConnectionManager server, InetSocketAddress address, Object internalChannel)
This is a callback method that is called onConnectNetworkServerManager.onConnect(ConnectionManager connectionManager, InetSocketAddress address, Object internalChannel)
handles a connection from a clientvoid
IServerManager.onDisconnect(ConnectionManager server, Object internalChannel)
This method is called when the client is disconnectedvoid
NetworkServerManager.onDisconnect(ConnectionManager server, Object internalChannel)
Removes stored parts of message for this channel at the decoder.void
IServerManager.onMessage(ConnectionManager server, Object internalChannel, Message message)
This method is called when data is received from a socket channelvoid
NetworkServerManager.onMessage(ConnectionManager server, Object internalChannel, Message msg)
This method is called when data is received from a socket channel -
Uses of ConnectionManager in marauroa.server.net.nio
Modifier and TypeClassDescriptionclass
This is the implementation of a worker that sends messages, receives them, ... -
Uses of ConnectionManager in marauroa.server.net.web
Modifier and TypeClassDescriptionclass
a network manager implementation that uses a websocket server for web based clients.