public class AddMessageEncoder extends AbstractMessageEncoder
MessageEncoder
that encodes AddMessage
.构造器和说明 |
---|
AddMessageEncoder() |
限定符和类型 | 方法和说明 |
---|---|
void |
dispose() |
protected void |
encodeBody(IoSession session,
AbstractMessage message,
ByteBuffer out) |
java.util.Set<java.lang.Class<?>> |
getMessageTypes()
Returns the set of message classes this encoder can encode.
|
encode
protected void encodeBody(IoSession session, AbstractMessage message, ByteBuffer out)
encodeBody
在类中 AbstractMessageEncoder
public java.util.Set<java.lang.Class<?>> getMessageTypes()
MessageEncoder
public void dispose() throws java.lang.Exception
java.lang.Exception