// Static function to get Deserialized Inner message. public MessageBase getDeSerializedInnerMessage() throws ClassNotFoundException { MessageBase innerMsg = Common.Deserialize(this.serializedMessage, Common.GetClassfromString(this.messageClass)); return innerMsg; }
// Static function to get Deserialized message. public static MessageWrapper getDeSerializedMessage(String json) { return Common.Deserialize(json, MessageWrapper.class); }
@SuppressWarnings("rawtypes") public Class getmessageclass() throws ClassNotFoundException { return Common.GetClassfromString(this.messageClass); }
// Serialize the Message Wrapper Class. public String getSerializedMessage() { return Common.Serialize(this); }