org.glassfish.grizzly.websockets
Interface FrameType

All Known Implementing Classes:
BaseFrameType, BinaryFrameType, ClosingFrameType, ContinuationFrameType, PingFrameType, PongFrameType, TextFrameType

public interface FrameType


Method Summary
 DataFrame create(boolean fin, byte[] data)
           
 byte[] getBytes(DataFrame dataFrame)
           
 void respond(WebSocket socket, DataFrame frame)
           
 void setPayload(DataFrame frame, byte[] data)
           
 

Method Detail

respond

void respond(WebSocket socket,
             DataFrame frame)

setPayload

void setPayload(DataFrame frame,
                byte[] data)

getBytes

byte[] getBytes(DataFrame dataFrame)

create

DataFrame create(boolean fin,
                 byte[] data)


Copyright © 2013 Oracle Corporation. All Rights Reserved.