javax.net.websocket
Interface MessageHandler.DecodedObject<T>
- All Superinterfaces:
- MessageHandler
- Enclosing interface:
- MessageHandler
public static interface MessageHandler.DecodedObject<T>
- extends MessageHandler
This kind of listener listens for messages that the container knows how to decode into an object of type T.
This will involve providing the endpoint configuration a decoder for objects of type T.
- Since:
- DRAFT 002
|
Method Summary |
void |
onMessage(T customObject)
Called when the container receives a message that it has been able to decode
into an object of type T. |
onMessage
void onMessage(T customObject)
- Called when the container receives a message that it has been able to decode
into an object of type T.
- Parameters:
customObject -
Copyright © 2012. All Rights Reserved.