JXTA

net.jxta.impl.peer
Class RemoteMonitorQuery

java.lang.Object
  extended by net.jxta.impl.peer.RemoteMonitorQuery
All Implemented Interfaces:
DocumentSerializable

public class RemoteMonitorQuery
extends Object
implements DocumentSerializable


Field Summary
static String CUMULATIVE_REPORT_REQUEST
           
static String GET_MONITORING_CAPABILITIES_REQUEST
           
static String PEER_MONITOR_INFO
           
static String REGISTER_MONITOR_REQUEST
           
static String REMOVE_MONITOR_REQUEST
           
static String RENEW_LEASE
           
static String VALIDATE_CUMULATIVE_FILTER_REQUEST
           
static String VALIDATE_FILTER_REQUEST
           
 
Constructor Summary
RemoteMonitorQuery()
           
 
Method Summary
(package private) static RemoteMonitorQuery createGetCumulativeReportQuery(MonitorFilter monitorFilter)
           
(package private) static RemoteMonitorQuery createLeaseRenewalQuery(int leaseId, long requestedLease)
           
(package private) static RemoteMonitorQuery createPeerMonitorInfoQuery()
           
(package private) static RemoteMonitorQuery createRegisterMonitorQuery(boolean includeCumulative, MonitorFilter monitorFilter, long reportRate, long lease)
           
(package private) static RemoteMonitorQuery createRemoveMonitorListenerQuery(int leaseId)
           
 long getLease()
           
 int getLeaseId()
           
 MonitorFilter getMonitorFilter()
           
 long getReportRate()
           
 void initializeFrom(Element element)
           
(package private)  boolean isCumulativeReportQuery()
           
 boolean isIncludeCumulative()
           
(package private)  boolean isLeaseRenewal()
           
(package private)  boolean isPeerMonitorInfoQuery()
           
(package private)  boolean isRegisterMonitorQuery()
           
(package private)  boolean isRemoveMonitorQuery()
           
(package private)  boolean isValidateCumulativeFilterRequest()
           
(package private)  boolean isValidateFilterRequest()
           
 void serializeTo(Element element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CUMULATIVE_REPORT_REQUEST

public static final String CUMULATIVE_REPORT_REQUEST
See Also:
Constant Field Values

REGISTER_MONITOR_REQUEST

public static final String REGISTER_MONITOR_REQUEST
See Also:
Constant Field Values

REMOVE_MONITOR_REQUEST

public static final String REMOVE_MONITOR_REQUEST
See Also:
Constant Field Values

VALIDATE_FILTER_REQUEST

public static final String VALIDATE_FILTER_REQUEST
See Also:
Constant Field Values

VALIDATE_CUMULATIVE_FILTER_REQUEST

public static final String VALIDATE_CUMULATIVE_FILTER_REQUEST
See Also:
Constant Field Values

GET_MONITORING_CAPABILITIES_REQUEST

public static final String GET_MONITORING_CAPABILITIES_REQUEST
See Also:
Constant Field Values

PEER_MONITOR_INFO

public static final String PEER_MONITOR_INFO
See Also:
Constant Field Values

RENEW_LEASE

public static final String RENEW_LEASE
See Also:
Constant Field Values
Constructor Detail

RemoteMonitorQuery

public RemoteMonitorQuery()
Method Detail

getMonitorFilter

public MonitorFilter getMonitorFilter()

getReportRate

public long getReportRate()

getLease

public long getLease()

getLeaseId

public int getLeaseId()

isIncludeCumulative

public boolean isIncludeCumulative()

isCumulativeReportQuery

boolean isCumulativeReportQuery()

isRegisterMonitorQuery

boolean isRegisterMonitorQuery()

isRemoveMonitorQuery

boolean isRemoveMonitorQuery()

isValidateFilterRequest

boolean isValidateFilterRequest()

isValidateCumulativeFilterRequest

boolean isValidateCumulativeFilterRequest()

isPeerMonitorInfoQuery

boolean isPeerMonitorInfoQuery()

isLeaseRenewal

boolean isLeaseRenewal()

createGetCumulativeReportQuery

static RemoteMonitorQuery createGetCumulativeReportQuery(MonitorFilter monitorFilter)

createRegisterMonitorQuery

static RemoteMonitorQuery createRegisterMonitorQuery(boolean includeCumulative,
                                                     MonitorFilter monitorFilter,
                                                     long reportRate,
                                                     long lease)

createRemoveMonitorListenerQuery

static RemoteMonitorQuery createRemoveMonitorListenerQuery(int leaseId)

createPeerMonitorInfoQuery

static RemoteMonitorQuery createPeerMonitorInfoQuery()

createLeaseRenewalQuery

static RemoteMonitorQuery createLeaseRenewalQuery(int leaseId,
                                                  long requestedLease)

serializeTo

public void serializeTo(Element element)
                 throws DocumentSerializationException
Specified by:
serializeTo in interface DocumentSerializable
Throws:
DocumentSerializationException

initializeFrom

public void initializeFrom(Element element)
                    throws DocumentSerializationException
Specified by:
initializeFrom in interface DocumentSerializable
Throws:
DocumentSerializationException

JXSE