com.ning.http.client.providers.netty.netty4
Class PingWebSocketFrame

java.lang.Object
  extended by com.ning.http.client.providers.netty.netty4.WebSocketFrame
      extended by com.ning.http.client.providers.netty.netty4.PingWebSocketFrame

public class PingWebSocketFrame
extends WebSocketFrame

Web Socket frame containing binary data

Author:
Vibul Imtarnasan

Constructor Summary
PingWebSocketFrame()
          Creates a new empty ping frame.
PingWebSocketFrame(boolean finalFragment, int rsv, org.jboss.netty.buffer.ChannelBuffer binaryData)
          Creates a new ping frame with the specified binary data
PingWebSocketFrame(org.jboss.netty.buffer.ChannelBuffer binaryData)
          Creates a new ping frame with the specified binary data.
 
Method Summary
 String toString()
           
 
Methods inherited from class com.ning.http.client.providers.netty.netty4.WebSocketFrame
getBinaryData, getRsv, isFinalFragment, setBinaryData, setFinalFragment, setRsv
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PingWebSocketFrame

public PingWebSocketFrame()
Creates a new empty ping frame.


PingWebSocketFrame

public PingWebSocketFrame(org.jboss.netty.buffer.ChannelBuffer binaryData)
Creates a new ping frame with the specified binary data.

Parameters:
binaryData - the content of the frame.

PingWebSocketFrame

public PingWebSocketFrame(boolean finalFragment,
                          int rsv,
                          org.jboss.netty.buffer.ChannelBuffer binaryData)
Creates a new ping frame with the specified binary data

Parameters:
finalFragment - flag indicating if this frame is the final fragment
rsv - reserved bits used for protocol extensions
binaryData - the content of the frame.
Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.