Interface NetherNetServerSignaling.NewConnectionHandler
- Enclosing interface:
- NetherNetServerSignaling
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for new connection handling.
-
Method Summary
-
Method Details
-
onConnect
Called when a new connection is initiated by a remote peer.- Parameters:
connectionId- The unique connection ID for this session.remoteNetworkId- The Network ID of the remote peer.payload- The initial signaling payload from the remote peer.
-