org.objectweb.joram.shared.admin
Class GetSubscriptionMessage

java.lang.Object
  extended by org.objectweb.joram.shared.admin.AbstractAdminMessage
      extended by org.objectweb.joram.shared.admin.AdminRequest
          extended by org.objectweb.joram.shared.admin.UserAdminRequest
              extended by org.objectweb.joram.shared.admin.SubscriptionAdminRequest
                  extended by org.objectweb.joram.shared.admin.GetSubscriptionMessage
All Implemented Interfaces:
Streamable, java.io.Externalizable, java.io.Serializable

public class GetSubscriptionMessage
extends SubscriptionAdminRequest

See Also:
Serialized Form

Field Summary
private  boolean fullMessage
           
private  java.lang.String msgId
           
private static long serialVersionUID
           
private  java.lang.String subName
           
 
Fields inherited from class org.objectweb.joram.shared.admin.AbstractAdminMessage
ABSTRACT_ADMIN_MESSAGE, ADD_DOMAIN_REQUEST, ADD_QUEUE_CLUSTER, ADD_SERVER_REQUEST, ADD_SERVICE_REQUEST, ADMIN_REPLY, ADMIN_REQUEST, classid, classnames, CLEAR_QUEUE, CLEAR_SUBSCRIPTION, CREATE_DESTINATION_REPLY, CREATE_DESTINATION_REQUEST, CREATE_USER_REPLY, CREATE_USER_REQUEST, DELETE_DESTINATION, DELETE_QUEUE_MESSAGE, DELETE_SUBSCRIPTION_MESSAGE, DELETE_USER, GET_CONFIG_REQUEST, GET_DOMAIN_NAMES, GET_DOMAIN_NAMES_REP, GET_LOCAL_SERVER, GET_LOCAL_SERVER_REP, GET_QUEUE_MESSAGE, GET_QUEUE_MESSAGE_IDS, GET_QUEUE_MESSAGE_IDS_REP, GET_QUEUE_MESSAGE_REP, GET_RIGHTS_REPLY, GET_RIGHTS_REQUEST, GET_SUBSCRIBER_IDS, GET_SUBSCRIBER_IDS_REP, GET_SUBSCRIPTION, GET_SUBSCRIPTION_MESSAGE, GET_SUBSCRIPTION_MESSAGE_IDS, GET_SUBSCRIPTION_MESSAGE_IDS_REP, GET_SUBSCRIPTION_MESSAGE_REP, GET_SUBSCRIPTION_REP, GET_SUBSCRIPTIONS, GET_SUBSCRIPTIONS_REP, GET_USERS_REPLY, GET_USERS_REQUEST, LIST_CLUSTER_QUEUE, logger, MONITOR_GET_CLUSTER, MONITOR_GET_CLUSTER_REP, MONITOR_GET_DESTINATIONS, MONITOR_GET_DESTINATIONS_REP, MONITOR_GET_DMQ_SETTINGS, MONITOR_GET_DMQ_SETTINGS_REP, MONITOR_GET_FATHER, MONITOR_GET_FATHER_REP, MONITOR_GET_NB_MAX_MSG, MONITOR_GET_NUMBER_REP, MONITOR_GET_PENDING_MESSAGES, MONITOR_GET_PENDING_REQUESTS, MONITOR_GET_SERVERS_IDS, MONITOR_GET_SERVERS_IDS_REP, MONITOR_GET_STAT, MONITOR_GET_STAT_REP, MONITOR_GET_SUBSCRIPTIONS, MONITOR_REPLY, MONITOR_REQUEST, NULL_CLASS_ID, QUEUE_ADMIN_REQUEST, REMOVE_DOMAIN_REQUEST, REMOVE_QUEUE_CLUSTER, REMOVE_SERVER_REQUEST, REMOVE_SERVICE_REQUEST, SET_CLUSTER, SET_DMQ, SET_FATHER, SET_NB_MAX_MSG, SET_READER, SET_RIGHT, SET_THRESHOLD, SET_WRITER, SPECIAL_ADMIN, STOP_SERVER_REQUEST, SUBSCRIPTION_ADMIN_REQUEST, UNSET_READER, UNSET_WRITER, UPDATE_USER, USER_ADMIN_REQUEST, XXX_MONITOR_GET_NB_MAX_MSG_REP, XXX_MONITOR_GET_READERS, XXX_MONITOR_GET_WRITERS, XXX_SET_DEFAULT_DMQ, XXX_SET_QUEUE_THRESHOLD, XXX_SET_USER_DMQ, XXX_SET_USER_THRESHOLD, XXX_UNSET_CLUSTER, XXX_UNSET_DEFAULT_DMQ, XXX_UNSET_DEFAULT_THRESHOLD, XXX_UNSET_DESTINATION_DMQ, XXX_UNSET_FATHER, XXX_UNSET_QUEUE_THRESHOLD, XXX_UNSET_USER_DMQ, XXX_UNSET_USER_THRESHOLD
 
Constructor Summary
GetSubscriptionMessage()
           
GetSubscriptionMessage(java.lang.String userId, java.lang.String subName, java.lang.String msgId)
           
GetSubscriptionMessage(java.lang.String userId, java.lang.String subName, java.lang.String msgId, boolean fullMessage)
           
 
Method Summary
protected  int getClassId()
           
 boolean getFullMessage()
           
 java.lang.String getMessageId()
           
 java.lang.String getSubscriptionName()
           
 void readFrom(java.io.InputStream is)
          The object implements the readFrom method to restore its contents from the input stream.
 void writeTo(java.io.OutputStream os)
          The object implements the writeTo method to write its contents to the output stream.
 
Methods inherited from class org.objectweb.joram.shared.admin.UserAdminRequest
getUserId, toString
 
Methods inherited from class org.objectweb.joram.shared.admin.AbstractAdminMessage
read, readExternal, soapCode, soapDecode, write, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

subName

private java.lang.String subName

msgId

private java.lang.String msgId

fullMessage

private boolean fullMessage
Constructor Detail

GetSubscriptionMessage

public GetSubscriptionMessage(java.lang.String userId,
                              java.lang.String subName,
                              java.lang.String msgId)

GetSubscriptionMessage

public GetSubscriptionMessage(java.lang.String userId,
                              java.lang.String subName,
                              java.lang.String msgId,
                              boolean fullMessage)

GetSubscriptionMessage

public GetSubscriptionMessage()
Method Detail

getSubscriptionName

public final java.lang.String getSubscriptionName()

getMessageId

public final java.lang.String getMessageId()

getFullMessage

public final boolean getFullMessage()

getClassId

protected int getClassId()
Overrides:
getClassId in class SubscriptionAdminRequest

readFrom

public void readFrom(java.io.InputStream is)
              throws java.io.IOException
Description copied from interface: Streamable
The object implements the readFrom method to restore its contents from the input stream.

Specified by:
readFrom in interface Streamable
Overrides:
readFrom in class SubscriptionAdminRequest
Parameters:
is - the stream to read data from in order to restore the object
Throws:
java.io.IOException

writeTo

public void writeTo(java.io.OutputStream os)
             throws java.io.IOException
Description copied from interface: Streamable
The object implements the writeTo method to write its contents to the output stream.

Specified by:
writeTo in interface Streamable
Overrides:
writeTo in class SubscriptionAdminRequest
Parameters:
os - the stream to write the object to
Throws:
java.io.IOException


Copyright © 2010 ScalAgent D.T.. All Rights Reserved.