Package rosequartz.net
Interface UDPSocket.OnMessageFunction<T>
- Type Parameters:
T- message type
- Enclosing class:
- UDPSocket<T extends Serializable>
- 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 message handler.
-
Method Summary
-
Method Details
-
onMessage
Function to be called on message receive.- Parameters:
message- content of the received messageaddress- address of the sender socketport- port of the sender socket
-