Modifier and Type | Field and Description |
---|---|
static byte[] |
EmptyByteArr |
Constructor and Description |
---|
Utils() |
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) |
static String |
simpleName(Class<?> className) |
public static final byte[] EmptyByteArr
public Utils()
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 © 2015 The Apache Software Foundation. All rights reserved.