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 ProtocolEventSender
public void flush()
flush
in interface ProtocolEventSender
public void close()
close
in interface ProtocolEventSender
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 setMaxFrameSize(int maxFrame)
setMaxFrameSize
in interface FrameSizeObserver
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.