javax.websocket
Interface PingMessage


public interface PingMessage

The PingMessage interface represents a web socket ping. PingMessages may be received by using a MessageHandler.Basic. The payload of the PingMessage is the application data sent by the peer.

Since:
v008
Author:
dannycoward

Method Summary
 ByteBuffer getApplicationData()
          The application data inside the ping message from the peer.
 

Method Detail

getApplicationData

ByteBuffer getApplicationData()
The application data inside the ping message from the peer.

Returns:
the application data.



Copyright © 2012 Oracle and/or its affiliates. All rights reserved.