Package | Description |
---|---|
org.glassfish.tyrus.core.frame |
WebSocket frame representations.
|
org.glassfish.tyrus.core.monitoring |
Monitoring interfaces.
|
Modifier and Type | Method and Description |
---|---|
TyrusFrame.FrameType |
TyrusFrame.getFrameType()
Returns the type of the frame.
|
static TyrusFrame.FrameType |
TyrusFrame.FrameType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TyrusFrame.FrameType[] |
TyrusFrame.FrameType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
TyrusFrame(Frame frame,
TyrusFrame.FrameType frameType)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
MessageEventListener.onFrameReceived(TyrusFrame.FrameType frameType,
long payloadLength)
Called when a frame has been received.
|
void |
MessageEventListener.onFrameSent(TyrusFrame.FrameType frameType,
long payloadLength)
Called when a frame has been sent.
|
Copyright © 2012-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.