Class NetworkService


  • public class NetworkService
    extends GenericObject
    Network Service object
    • Constructor Detail

      • NetworkService

        public NetworkService​(org.netxms.base.NXCPMessage msg,
                              NXCSession session)
        Parameters:
        msg -
        session -
    • Method Detail

      • getServiceType

        public int getServiceType()
        Returns:
        the serviceType
      • getIpAddress

        public org.netxms.base.InetAddressEx getIpAddress()
        Returns:
        the ipAddress
      • getProtocol

        public int getProtocol()
        Returns:
        the protocol
      • getPort

        public int getPort()
        Returns:
        the port
      • getRequest

        public String getRequest()
        Returns:
        the request
      • getResponse

        public String getResponse()
        Returns:
        the response
      • getPollerNode

        public long getPollerNode()
        Returns:
        the pollerNode
      • getPollCount

        public int getPollCount()
        Returns:
        the pollCount
      • getParentNode

        public AbstractNode getParentNode()
        Get parent node object.
        Returns:
        parent node object or null if it is not exist or inaccessible