AdventNet Web NMS 4 DMS API Specification

com.adventnet.nms.extranet.remote.services.common.model
Class RegionalServerInfo
java.lang.Object
  |
  +--com.adventnet.nms.topodb.ManagedObject
        |
        +--com.adventnet.nms.extranet.remote.services.common.model.RegionalServerInfo
All Implemented Interfaces:
com.adventnet.nms.topodb.corba._ManagedObject_CIOperations, java.lang.Cloneable, com.adventnet.nms.store.DBExtendedInterface, com.adventnet.nms.store.DBInterface, java.io.Serializable

public class RegionalServerInfo
extends com.adventnet.nms.topodb.ManagedObject

This class extends the ManagedObject class and it defines the properties of the Distributed Mediation Server registered with the CentralServer.

See Also:
Serialized Form

Constructor Summary
RegionalServerInfo()
           
 
Method Summary
 java.lang.String getDnsName()
          Returns the DNSName of the machine in which the Distributed Mediation Server is running.
 java.lang.String getIpAddress()
          Returns the IpAddress of the machine in which the Distributed Mediation Server is running.
 long getLastUpdateTime()
          Returns the time in seconds at which the Distributed Mediation Server last contacted the Central Server.
 java.lang.String getOsName()
          Returns the Operating System of the machine in which the Distributed Mediation Server is running.
 java.util.Properties getProperties()
          Returns all the properties of the RegionalServerInfo Object.
 long getReadInterval()
          Returns the Read Interval, in seconds, which is configured in the Distributed Mediation Server.
 long getTimeDiff()
          Returns the difference in time, in seconds, between the Central Server and the distributed mediation server.
 java.lang.String getTimeZone()
          Returns the time zone to which the Distributed Mediation Server belongs
 long getUniqueID()
          Returns the UniqueID of the Distributed Mediation Server with which it is registered with the Central Server.
 long getWriteInterval()
          Returns the Write Interval, in seconds, which is configured in the Distributed Mediation Server.
 void setDnsName(java.lang.String dnsNameArg)
          Sets the DNSName of the machine in which the Distributed Mediation Server is running.
 void setIpAddress(java.lang.String arg0)
          Sets the IpAddress of the machine in which the Distributed Mediation Server is running.
 void setLastUpdateTime(long time)
          Sets the time in seconds at which the Distributed Mediation Server last contacted the Central Server.
 void setOsName(java.lang.String osName)
          Sets the Operation System of the machine in which the Distributed Mediation Server is running.
 void setProperties(java.util.Properties p)
          Sets the properties of the RegionalServerInfo Object.
 void setReadInterval(long readInterval)
          Sets the Read Interval in seconds, which is configured in the Distributed Mediation Server.
 void setTimeDiff(long arg0)
          Sets the difference in time, in seconds, between the Central Server and the distributed mediation server.
 void setTimeZone(java.lang.String arg0)
          Sets the Timezone of the Distributed Mediation Server.
 void setUniqueID(long uniqueIDArg)
          Sets an UniqueID to the Distributed Mediation Server.
 void setWriteInterval(long writeInterval)
          Sets the Write Interval in seconds, which is configured in the Distributed Mediation Server.
 
Methods inherited from class com.adventnet.nms.topodb.ManagedObject
addChildrenKeys, addGroupMembers, addGroupNames, checkStatus_CT, checkStatus, clone, get, getChildrenKeys, getClassname, getDisplayName, getFailureCount, getFailureThreshold, getGroupMembers, getGroupNames, getIsContainer, getIsGroup, getKey, getKeyName, getLockId, getManaged, getName, getOwnerName, getParentKey, getPollInterval, getProperties_CT, getStatus_CT, getStatus, getStatus, getStatusChangeTime, getStatusColor, getStatusPollEnabled, getStatusUpdateTime, getTester, getTieRefHolder_ManagedObject, getType, getUClass, getUserProperties_CT, getUserProperties, getUserProperty, getUTest, getWebNMS, pollStatus, put, remove, removeChildrenKeys, removeGroupMembers, removeGroupNames, removeUserProperty, setChildrenKeys, setClassname, setDisplayName, setFailureCount, setFailureThreshold, setGroupMembers, setGroupNames, setIsContainer, setIsGroup, setLockId, setManaged, setName, setOwnerName, setParentKey, setPollInterval, setProperties_CT, setStatus, setStatusChangeTime, setStatusPollEnabled, setStatusUpdateTime, setTester, setType, setUClass, setUserProperty, setUTest, setWebNMS, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RegionalServerInfo

public RegionalServerInfo()
Method Detail

getTimeZone

public java.lang.String getTimeZone()
Returns the time zone to which the Distributed Mediation Server belongs
Returns:
The time zone of the DMS.
See Also:
setTimeZone(String)

setTimeZone

public void setTimeZone(java.lang.String arg0)
Sets the Timezone of the Distributed Mediation Server.
Parameters:
arg0 - Timezone of the DMS.
See Also:
getTimeZone()

getIpAddress

public java.lang.String getIpAddress()
Returns the IpAddress of the machine in which the Distributed Mediation Server is running.
Returns:
The IpAddress of the DMS.
See Also:
setIpAddress(String)

setIpAddress

public void setIpAddress(java.lang.String arg0)
Sets the IpAddress of the machine in which the Distributed Mediation Server is running.
Parameters:
arg0 - IpAddress of the DMS.
See Also:
getIpAddress()

getDnsName

public java.lang.String getDnsName()
Returns the DNSName of the machine in which the Distributed Mediation Server is running.
Returns:
DNSName of the DMS.
See Also:
setDnsName(String)

setDnsName

public void setDnsName(java.lang.String dnsNameArg)
Sets the DNSName of the machine in which the Distributed Mediation Server is running.
Parameters:
dnsNameArg - DNSName of the DMS.
See Also:
getDnsName()

getUniqueID

public long getUniqueID()
Returns the UniqueID of the Distributed Mediation Server with which it is registered with the Central Server.
Returns:
UniqueID of the DMS.
See Also:
setUniqueID(long)

setUniqueID

public void setUniqueID(long uniqueIDArg)
Sets an UniqueID to the Distributed Mediation Server.
Parameters:
uniqueIDArg - UniqueID of the DMS.
See Also:
getUniqueID()

getLastUpdateTime

public long getLastUpdateTime()
Returns the time in seconds at which the Distributed Mediation Server last contacted the Central Server.
Returns:
The last update time of the DMS in seconds.
See Also:
setLastUpdateTime(long)

setLastUpdateTime

public void setLastUpdateTime(long time)
Sets the time in seconds at which the Distributed Mediation Server last contacted the Central Server.
Parameters:
time - Time at which the DMS last contacted the Central Server.
See Also:
getLastUpdateTime()

getTimeDiff

public long getTimeDiff()
Returns the difference in time, in seconds, between the Central Server and the distributed mediation server.
Returns:
The time difference in seconds.
See Also:
setTimeDiff(long)

setTimeDiff

public void setTimeDiff(long arg0)
Sets the difference in time, in seconds, between the Central Server and the distributed mediation server.
Parameters:
arg0 - Time difference between the Central Server and the DMS.
See Also:
getTimeDiff()

getOsName

public java.lang.String getOsName()
Returns the Operating System of the machine in which the Distributed Mediation Server is running.
Returns:
The OS of the DMS.
See Also:
setOsName(String)

setOsName

public void setOsName(java.lang.String osName)
Sets the Operation System of the machine in which the Distributed Mediation Server is running.
Parameters:
osName - Operating System of the DMS.
See Also:
getOsName()

getReadInterval

public long getReadInterval()
Returns the Read Interval, in seconds, which is configured in the Distributed Mediation Server. This is the interval at which the DMS contacts the Central server to get requests.
Returns:
The read interval of the DMS.
See Also:
setReadInterval(long)

setReadInterval

public void setReadInterval(long readInterval)
Sets the Read Interval in seconds, which is configured in the Distributed Mediation Server. This is the interval at which the DMS contacts the Central server to get requests
Parameters:
readInterval - Read Interval of the DMS.
See Also:
getReadInterval()

getWriteInterval

public long getWriteInterval()
Returns the Write Interval, in seconds, which is configured in the Distributed Mediation Server. This is the interval at which the DMS updates the Central server with the collected data.
Returns:
The write interval of the DMS.
See Also:
setWriteInterval(long)

setWriteInterval

public void setWriteInterval(long writeInterval)
Sets the Write Interval in seconds, which is configured in the Distributed Mediation Server. This is the interval at which the DMS updates the Central server with the collected data.
Parameters:
writeInterval - Write Interval of the DMS.
See Also:
getWriteInterval()

getProperties

public java.util.Properties getProperties()
Returns all the properties of the RegionalServerInfo Object.
Overrides:
getProperties in class com.adventnet.nms.topodb.ManagedObject
Returns:
The properties of the RegionalServerInfo Object.
See Also:
setProperties(Properties)

setProperties

public void setProperties(java.util.Properties p)
Sets the properties of the RegionalServerInfo Object.
Overrides:
setProperties in class com.adventnet.nms.topodb.ManagedObject
Parameters:
p - The properties that has to be set to the RegionalServerInfo Object.
See Also:
getProperties()

AdventNet Web NMS 4 DMS API Specification