org.flexiblepower.messaging
public interface Endpoint
Endpoint
is a component that can receive and send messages over a Connection
.Modifier and Type | Method and Description |
---|---|
MessageHandler |
onConnect(Connection connection)
Called when a new connection has been established.
|
MessageHandler onConnect(Connection connection)
connection
- The Connection
object related to the connection.