\r
/** Code type of RoleRequest message */\r
public static final byte MESSAGE_TYPE = 24;\r
- private static final int MESSAGE_LENGTH = 8;\r
+ private static final int MESSAGE_LENGTH = 24;\r
private static final byte PADDING_IN_ROLE_REQUEST_MESSAGE = 4;\r
private static RoleRequestInputMessageFactory instance;\r
\r
/**\r
* @return singleton factory\r
*/\r
- public static RoleRequestInputMessageFactory getInstance() {\r
+ public static synchronized RoleRequestInputMessageFactory getInstance() {\r
if (instance == null) {\r
instance = new RoleRequestInputMessageFactory();\r
}\r