public final class Disassembler extends Object implements ProtocolEventSender, ProtocolDelegate<Void>, FrameSizeObserver
| Constructor and Description |
|---|
Disassembler(ByteBufferSender 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 |
setMaxFrameSize(int maxFrame) |
public Disassembler(ByteBufferSender sender, int maxFrame)
public void send(ProtocolEvent event)
send in interface ProtocolEventSenderpublic void flush()
flush in interface ProtocolEventSenderpublic void close()
close in interface ProtocolEventSenderpublic 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 setMaxFrameSize(int maxFrame)
setMaxFrameSize in interface FrameSizeObserverCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.