org.apache.wicket.protocol.ws.api
Interface IWebSocketRequestHandler

All Known Implementing Classes:
WebSocketRequestHandler

public interface IWebSocketRequestHandler

An interface for outbound communication with web socket clients

Since:
6.0

Method Summary
 void push(byte[] message, int offset, int length)
          Pushes a binary message to the client.
 void push(CharSequence message)
          Pushes a text message to the client.
 

Method Detail

push

void push(CharSequence message)
Pushes a text message to the client.

Parameters:
message - the text message to push to the client if the web socket connection is open

push

void push(byte[] message,
          int offset,
          int length)
Pushes a binary message to the client.

Parameters:
message - the binary message to push to the client if the web socket connection is open
offset - the offset to start to read from the message
length - how many bytes to read from the message


Copyright © 2006–2013 Apache Software Foundation. All rights reserved.