Class NetworkService

All Implemented Interfaces:
NodeChild

public class NetworkService extends GenericObject implements NodeChild
Network Service object
  • Field Details

  • Constructor Details

    • NetworkService

      public NetworkService(NXCPMessage msg, NXCSession session)
      Create from NXCP message.
      Parameters:
      msg - NXCP message
      session - owning client session
  • Method Details

    • getObjectClassName

      public String getObjectClassName()
      Description copied from class: AbstractObject
      Get name of NetXMS object's class.
      Overrides:
      getObjectClassName in class AbstractObject
      Returns:
      Name of NetXMS object's class
      See Also:
    • getServiceType

      public int getServiceType()
      Returns:
      the serviceType
    • getIpAddress

      public 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.
      Specified by:
      getParentNode in interface NodeChild
      Returns:
      parent node object or null if it is not exist or inaccessible