Class BinaryMessage
- java.lang.Object
-
- org.apache.wicket.protocol.ws.api.message.AbstractClientMessage
-
- org.apache.wicket.protocol.ws.api.message.BinaryMessage
-
- All Implemented Interfaces:
Serializable
,IWebSocketMessage
,IClusterable
public class BinaryMessage extends AbstractClientMessage
Amessage
with binary data- Since:
- 6.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BinaryMessage(WebApplication application, String sessionId, IKey key, byte[] data, int offset, int length)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getData()
int
getLength()
int
getOffset()
-
Methods inherited from class org.apache.wicket.protocol.ws.api.message.AbstractClientMessage
getApplication, getKey, getSessionId
-
-
-
-
Constructor Detail
-
BinaryMessage
public BinaryMessage(WebApplication application, String sessionId, IKey key, byte[] data, int offset, int length)
Constructor.- Parameters:
application
- the Wicket applicationsessionId
- the id of the http sessionkey
- the page id or resource namedata
- the binary message from the clientoffset
- the offset to read fromlength
-
-
-