org.eclipse.jetty.websocket
public class WebSocketGeneratorD08 extends java.lang.Object implements WebSocketGenerator
Constructor and Description |
---|
WebSocketGeneratorD08(WebSocketBuffers buffers,
EndPoint endp) |
WebSocketGeneratorD08(WebSocketBuffers buffers,
EndPoint endp,
MaskGen maskGen) |
Modifier and Type | Method and Description |
---|---|
void |
addFrame(byte flags,
byte opcode,
byte[] content,
int offset,
int length) |
int |
flush() |
int |
flushBuffer() |
Buffer |
getBuffer() |
boolean |
isBufferEmpty() |
void |
returnBuffer() |
public WebSocketGeneratorD08(WebSocketBuffers buffers, EndPoint endp)
public WebSocketGeneratorD08(WebSocketBuffers buffers, EndPoint endp, MaskGen maskGen)
public Buffer getBuffer()
public void addFrame(byte flags, byte opcode, byte[] content, int offset, int length) throws java.io.IOException
addFrame
in interface WebSocketGenerator
java.io.IOException
public int flushBuffer() throws java.io.IOException
java.io.IOException
public int flush() throws java.io.IOException
flush
in interface WebSocketGenerator
java.io.IOException
public boolean isBufferEmpty()
isBufferEmpty
in interface WebSocketGenerator
public void returnBuffer()
Copyright © 2017. All Rights Reserved.