Package marauroa.common.net
Interface ConnectionManager
- All Known Implementing Classes:
NIONetworkConnectionManager
,WebSocketConnectionManager
public interface ConnectionManager
a server for a specific protocol
- Author:
- hendrik
-
Method Summary
-
Method Details
-
finish
void finish()shuts the server down -
isFinished
boolean isFinished()was the server shutdown?- Returns:
- true, if the server was shut down; false otherwise
-
send
sends a message- Parameters:
internalChannel
- channel to send the message tomsg
- message to sendisPerceptionRequired
- is the next perception unskipable?
-
close
closes a channel- Parameters:
internalChannel
- channel to close
-