public final class Disassembler extends Object implements Sender<ProtocolEvent>, ProtocolDelegate<Void>, FrameSizeObserver
| Constructor and Description |
|---|
Disassembler(Sender<ByteBuffer> sender,
int maxFrame) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
command(Void v,
Method method) |
void |
control(Void v,
Method method) |
void |
error(Void v,
ProtocolError error) |
void |
flush() |
void |
init(Void v,
ProtocolHeader header) |
void |
send(ProtocolEvent event) |
void |
setIdleTimeout(int i) |
void |
setMaxFrameSize(int maxFrame) |
public Disassembler(Sender<ByteBuffer> sender, int maxFrame)
public void send(ProtocolEvent event)
send in interface Sender<ProtocolEvent>public void flush()
flush in interface Sender<ProtocolEvent>public void close()
close in interface Sender<ProtocolEvent>public void init(Void v, ProtocolHeader header)
init in interface ProtocolDelegate<Void>public void control(Void v, Method method)
control in interface ProtocolDelegate<Void>public void command(Void v, Method method)
command in interface ProtocolDelegate<Void>public void error(Void v, ProtocolError error)
error in interface ProtocolDelegate<Void>public void setIdleTimeout(int i)
setIdleTimeout in interface Sender<ProtocolEvent>public void setMaxFrameSize(int maxFrame)
setMaxFrameSize in interface FrameSizeObserverCopyright © 2006–2015 The Apache Software Foundation. All rights reserved.