public class Assembler extends Object implements NetworkEventReceiver, NetworkDelegate
| Constructor and Description |
|---|
Assembler(ProtocolEventReceiver receiver) |
| Modifier and Type | Method and Description |
|---|---|
protected ByteBuffer |
allocateByteBuffer(int size) |
void |
closed() |
void |
error(ProtocolError error) |
void |
exception(Throwable t) |
void |
frame(Frame frame) |
void |
init(ProtocolHeader header) |
void |
received(NetworkEvent event) |
public Assembler(ProtocolEventReceiver receiver)
public void received(NetworkEvent event)
received in interface NetworkEventReceiverpublic void exception(Throwable t)
exception in interface NetworkEventReceiverpublic void closed()
closed in interface NetworkEventReceiverpublic void init(ProtocolHeader header)
init in interface NetworkDelegatepublic void error(ProtocolError error)
error in interface NetworkDelegatepublic void frame(Frame frame)
frame in interface NetworkDelegateprotected ByteBuffer allocateByteBuffer(int size)
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.