Top Description Constructors Methods
org.glassfish.tyrus.core.frame

public Class PongFrame

extends TyrusFrame
Class Inheritance
Imports
org.glassfish.tyrus.core.TyrusWebSocket

Pong frame representation.

Constructor Summary

AccessConstructor and Description
public
PongFrame(Frame
original (pong) frame.
frame
)

Constructor.

public
PongFrame(byte[]
pong frame payload.
payload
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public void
respond(TyrusWebSocket
socket on which the appropriate action will be performed.
socket
)

Implements abstract org.glassfish.tyrus.core.frame.TyrusFrame.respond.

Execution part of frame processing.

Inherited from org.glassfish.tyrus.core.frame.TyrusFrame:
getFrameTypewrap

Constructor Detail

PongFrameback to summary
public PongFrame(Frame frame)

Constructor.

Parameters
frame:Frame

original (pong) frame.

PongFrameback to summary
public PongFrame(byte[] payload)

Constructor.

Parameters
payload:byte[]

pong frame payload.

Method Detail

respondback to summary
public void respond(TyrusWebSocket socket)

Implements abstract org.glassfish.tyrus.core.frame.TyrusFrame.respond.

Doc from org.glassfish.tyrus.core.frame.TyrusFrame.respond.

Execution part of frame processing.

Parameters
socket:TyrusWebSocket

socket on which the appropriate action will be performed.

Annotations
@Override