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