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 NetworkEventReceiver
public void exception(Throwable t)
exception
in interface NetworkEventReceiver
public void closed()
closed
in interface NetworkEventReceiver
public void init(ProtocolHeader header)
init
in interface NetworkDelegate
public void error(ProtocolError error)
error
in interface NetworkDelegate
public void frame(Frame frame)
frame
in interface NetworkDelegate
protected ByteBuffer allocateByteBuffer(int size)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.