public class RemotingProtocolDecoder extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
log
Logger
|
Constructor and Description |
---|
RemotingProtocolDecoder() |
Modifier and Type | Method and Description |
---|---|
Object |
decode(ProtocolState state,
IoBuffer in)
Decodes the buffer and returns a remoting packet.
|
List<Object> |
decodeBuffer(ProtocolState state,
IoBuffer buffer)
Decodes the given buffer.
|
protected List<RemotingCall> |
decodeCalls(IoBuffer in)
Decode calls.
|
protected Map<String,Object> |
readHeaders(IoBuffer in)
Read remoting headers.
|
void |
setDeserializer(Deserializer deserializer)
Setter for deserializer.
|
public void setDeserializer(Deserializer deserializer)
deserializer
- Deserializerpublic List<Object> decodeBuffer(ProtocolState state, IoBuffer buffer)
state
- buffer
- RemotingPacket
objects.public Object decode(ProtocolState state, IoBuffer in) throws Exception
state
- in
- RemotingPacket
Exception
protected Map<String,Object> readHeaders(IoBuffer in)
in
- Input data as byte bufferprotected List<RemotingCall> decodeCalls(IoBuffer in)
in
- Input data as byte bufferCopyright © 2006-2012 The Red5 Project