org.netxms.client.objects
Class NetworkService

java.lang.Object
  extended by org.netxms.client.objects.GenericObject
      extended by org.netxms.client.objects.NetworkService

public class NetworkService
extends GenericObject

Network Service object


Field Summary
static int CUSTOM
           
static int FTP
           
static int HTTP
           
static int POP3
           
static int SMTP
           
static int SSH
           
static int TELNET
           
 
Fields inherited from class org.netxms.client.objects.GenericObject
CALCULATE_DEFAULT, CALCULATE_MOST_CRITICAL, CALCULATE_MULTIPLE_THRESHOLDS, CALCULATE_SINGLE_THRESHOLD, childs, customAttributes, OBJECT_AGENTPOLICY, OBJECT_AGENTPOLICY_CONFIG, OBJECT_BUSINESSSERVICE, OBJECT_BUSINESSSERVICEROOT, OBJECT_CLUSTER, OBJECT_CONDITION, OBJECT_CONTAINER, OBJECT_DASHBOARD, OBJECT_DASHBOARDROOT, OBJECT_GENERIC, OBJECT_INTERFACE, OBJECT_NETWORK, OBJECT_NETWORKMAP, OBJECT_NETWORKMAPGROUP, OBJECT_NETWORKMAPROOT, OBJECT_NETWORKSERVICE, OBJECT_NODE, OBJECT_NODELINK, OBJECT_POLICYGROUP, OBJECT_POLICYROOT, OBJECT_REPORT, OBJECT_REPORTGROUP, OBJECT_REPORTROOT, OBJECT_SERVICEROOT, OBJECT_SLMCHECK, OBJECT_SUBNET, OBJECT_TEMPLATE, OBJECT_TEMPLATEGROUP, OBJECT_TEMPLATEROOT, OBJECT_VPNCONNECTOR, OBJECT_ZONE, parents, PROPAGATE_DEFAULT, PROPAGATE_FIXED, PROPAGATE_RELATIVE, PROPAGATE_TRANSLATED, PROPAGATE_UNCHANGED, session, STATUS_CRITICAL, STATUS_DISABLED, STATUS_MAJOR, STATUS_MINOR, STATUS_NORMAL, STATUS_TESTING, STATUS_UNKNOWN, STATUS_UNMANAGED, STATUS_WARNING
 
Constructor Summary
NetworkService(NXCPMessage msg, NXCSession session)
           
 
Method Summary
 java.lang.String getObjectClassName()
           
 int getPollCount()
           
 long getPollerNode()
           
 int getPort()
           
 int getProtocol()
           
 java.lang.String getRequest()
           
 java.lang.String getResponse()
           
 int getServiceType()
           
 
Methods inherited from class org.netxms.client.objects.GenericObject
getAccessList, getAllChilds, getChildIdList, getChilds, getChildsAsArray, getComments, getCustomAttributes, getFixedPropagatedStatus, getGeolocation, getGuid, getImage, getNumberOfChilds, getNumberOfParents, getObjectClass, getObjectId, getObjectName, getParentIdList, getParents, getParentsAsArray, getPrimaryIP, getStatus, getStatusCalculationMethod, getStatusPropagationMethod, getStatusShift, getStatusSingleThreshold, getStatusThresholds, getStatusTransformation, getSubmapId, getTrustedNodes, hashCode, isChildOf, isChildOf, isDefaultImage, isDeleted, isDirectChildOf, isInheritAccessRights, setSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CUSTOM

public static final int CUSTOM
See Also:
Constant Field Values

SSH

public static final int SSH
See Also:
Constant Field Values

POP3

public static final int POP3
See Also:
Constant Field Values

SMTP

public static final int SMTP
See Also:
Constant Field Values

FTP

public static final int FTP
See Also:
Constant Field Values

HTTP

public static final int HTTP
See Also:
Constant Field Values

TELNET

public static final int TELNET
See Also:
Constant Field Values
Constructor Detail

NetworkService

public NetworkService(NXCPMessage msg,
                      NXCSession session)
Parameters:
msg -
session -
Method Detail

getObjectClassName

public java.lang.String getObjectClassName()
Overrides:
getObjectClassName in class GenericObject
Returns:
Name of NetXMS object's class

getServiceType

public int getServiceType()
Returns:
the serviceType

getProtocol

public int getProtocol()
Returns:
the protocol

getPort

public int getPort()
Returns:
the port

getRequest

public java.lang.String getRequest()
Returns:
the request

getResponse

public java.lang.String getResponse()
Returns:
the response

getPollerNode

public long getPollerNode()
Returns:
the pollerNode

getPollCount

public int getPollCount()
Returns:
the pollCount


Copyright © 2012. All Rights Reserved.