Modifier and Type | Field and Description |
---|---|
static byte[] |
EMPTY_BYTE_ARR |
Modifier and Type | Method and Description |
---|---|
static GroupCommunicationMessage |
bldVersionedGCM(Class<? extends Name<String>> groupName,
Class<? extends Name<String>> operName,
ReefNetworkGroupCommProtos.GroupCommMessage.Type msgType,
String from,
int srcVersion,
String to,
int dstVersion,
byte[]... data) |
static Class<? extends Name<String>> |
getClass(String className) |
static byte[] |
getData(GroupCommunicationMessage gcm) |
static GroupCommunicationMessage |
getGCM(Message<GroupCommunicationMessage> msg)
Extract a group communication message object from a message.
|
static String |
simpleName(Class<?> className) |
public static final byte[] EMPTY_BYTE_ARR
public static GroupCommunicationMessage bldVersionedGCM(Class<? extends Name<String>> groupName, Class<? extends Name<String>> operName, ReefNetworkGroupCommProtos.GroupCommMessage.Type msgType, String from, int srcVersion, String to, int dstVersion, byte[]... data)
public static String simpleName(Class<?> className)
public static byte[] getData(GroupCommunicationMessage gcm)
public static GroupCommunicationMessage getGCM(Message<GroupCommunicationMessage> msg)
msg
- Copyright © 2017 The Apache Software Foundation. All rights reserved.