public class WebSocketGeneratorD06 extends Object implements WebSocketGenerator
Constructor and Description |
---|
WebSocketGeneratorD06(WebSocketBuffers buffers,
EndPoint endp) |
WebSocketGeneratorD06(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 |
flush(int blockFor) |
boolean |
isBufferEmpty() |
public WebSocketGeneratorD06(WebSocketBuffers buffers, EndPoint endp)
public WebSocketGeneratorD06(WebSocketBuffers buffers, EndPoint endp, MaskGen maskGen)
public void addFrame(byte flags, byte opcode, byte[] content, int offset, int length) throws IOException
addFrame
in interface WebSocketGenerator
IOException
public int flush(int blockFor) throws IOException
IOException
public int flush() throws IOException
flush
in interface WebSocketGenerator
IOException
public boolean isBufferEmpty()
isBufferEmpty
in interface WebSocketGenerator
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.