public class Message extends Object
| 构造器和说明 |
|---|
Message(byte[] bytes) |
Message(String type,
Map<String,Object> data,
String version,
String nodeID) |
public Message(byte[] bytes)
throws IOException
IOExceptionpublic static Map<String,Object> unpackMap(org.msgpack.core.MessageUnpacker unpacker) throws IOException
IOExceptionpublic String getType()
public String getNodeID()
public byte[] getBytes()
throws IOException
IOExceptionCopyright © 2022. All rights reserved.