public class WebSocketGeneratorD00 extends java.lang.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 java.io.IOException
addFrame in interface WebSocketGeneratorjava.io.IOExceptionpublic int flush(int blockFor)
throws java.io.IOException
java.io.IOExceptionpublic int flush()
throws java.io.IOException
flush in interface WebSocketGeneratorjava.io.IOExceptionpublic boolean isBufferEmpty()
isBufferEmpty in interface WebSocketGeneratorCopyright © 2013 FuseSource, Corp.. All Rights Reserved.