|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.red5.server.net.protocol.BaseProtocolEncoder
org.red5.server.net.remoting.codec.RemotingProtocolEncoder
public class RemotingProtocolEncoder
Remoting protocol encoder.
| Field Summary | |
|---|---|
protected static Logger |
ioLog
I/O logger |
protected static Logger |
log
Logger |
| Constructor Summary | |
|---|---|
RemotingProtocolEncoder()
|
|
| Method Summary | |
|---|---|
void |
dispose(IoSession ioSession)
Dispose I/O session, not implemented yet. |
IoBuffer |
encode(ProtocolState state,
Object message)
Encodes object with given protocol state to byte buffer |
void |
setSerializer(Serializer serializer)
Setter for serializer. |
| Methods inherited from class org.red5.server.net.protocol.BaseProtocolEncoder |
|---|
generateErrorResult |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static Logger log
protected static Logger ioLog
| Constructor Detail |
|---|
public RemotingProtocolEncoder()
| Method Detail |
|---|
public IoBuffer encode(ProtocolState state,
Object message)
throws Exception
encode in interface SimpleProtocolEncoderstate - Protocol statemessage - Object to encode
Exception - Any decoding exception
public void dispose(IoSession ioSession)
throws Exception
ioSession - I/O session
Exception - Exceptionpublic void setSerializer(Serializer serializer)
serializer - New serializer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||