|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.service.security.kmc.messages.KMCMessage
public class KMCMessage
Encapsulates various messages sent to the KMC
Created on Sep 8, 2005
| Field Summary | |
|---|---|
static int |
KmcMSG_SECURE_TOPIC_KEY_CREATE_MODIFY
The payload is asecure key creation request. |
static int |
KmcMSG_SECURE_TOPIC_KEY_REQUEST
The payload is secure topic key request. |
| Constructor Summary | |
|---|---|
KMCMessage(int type,
byte[] data)
|
|
| Method Summary | |
|---|---|
static KMCMessage |
createObjectFromBytes(byte[] objectBytes)
Unmarshalls the bytes as a KMCMessage object |
byte[] |
getBytes()
Marshalls the object into an array of bytes. |
int |
getMessageType()
|
byte[] |
getPayload()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int KmcMSG_SECURE_TOPIC_KEY_CREATE_MODIFY
public static final int KmcMSG_SECURE_TOPIC_KEY_REQUEST
| Constructor Detail |
|---|
public KMCMessage(int type,
byte[] data)
| Method Detail |
|---|
public byte[] getBytes()
public static KMCMessage createObjectFromBytes(byte[] objectBytes)
objectBytes -
public int getMessageType()
public byte[] getPayload()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||