|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.red5.server.net.remoting.codec.RemotingProtocolEncoder
public class RemotingProtocolEncoder
Remoting protocol encoder.
| Field Summary | |
|---|---|
protected static org.slf4j.Logger |
log
Logger |
| Constructor Summary | |
|---|---|
RemotingProtocolEncoder()
|
|
| Method Summary | |
|---|---|
IoBuffer |
encode(ProtocolState state,
Object message)
Encodes the given buffer. |
protected StatusObject |
generateErrorResult(String code,
Throwable error)
Generate error object to return for given exception. |
void |
setSerializer(Serializer serializer)
Setter for serializer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static org.slf4j.Logger log
| Constructor Detail |
|---|
public RemotingProtocolEncoder()
| Method Detail |
|---|
public IoBuffer encode(ProtocolState state,
Object message)
throws Exception
state - message -
Exception
protected StatusObject generateErrorResult(String code,
Throwable error)
code - callerror - error
public void setSerializer(Serializer serializer)
serializer - New serializer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||