| 构造器和说明 |
|---|
FixedLengthProtocol() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
decode(ByteBuffer readBuffer,
org.smartboot.socket.transport.AioSession<String> session) |
ByteBuffer |
encode(String msg,
org.smartboot.socket.transport.AioSession<String> session) |
public String decode(ByteBuffer readBuffer, org.smartboot.socket.transport.AioSession<String> session)
decode 在接口中 org.smartboot.socket.Protocol<String>public ByteBuffer encode(String msg, org.smartboot.socket.transport.AioSession<String> session)
encode 在接口中 org.smartboot.socket.Protocol<String>Copyright © 2019. All Rights Reserved.