Package org.netxms.client
Class AgentTunnel
java.lang.Object
org.netxms.client.AgentTunnel
Agent tunnel information
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedAgentTunnel(NXCPMessage msg, long baseId) Create from NXCP message
- 
Method SummaryModifier and TypeMethodDescriptionintGet active channel count for this tunnel.Get agent version.getGuid()Get tunnel globally unique identifier.byte[]Get node's hardware ID.Get node's hardware ID in text form.Get remote host name.intgetId()Get tunnel internal ID.longGet platform name for this agent's host.Get node's hardware serial number.intGet zone UIN for this agent.booleanCheck if agent proxy is enabled on this agent.booleanisBound()Check if tunnel is boundbooleanCheck if SNMP proxy is enabled on this agent.booleanCheck if SNMP trap proxy is enabled on this agent.booleanCheck if syslog proxy is enabled on this agentbooleanCheck if user agent is installed on remote system.toString()
- 
Constructor Details- 
AgentTunnelCreate from NXCP message- Parameters:
- msg- NXCP message
- baseId- base field ID
 
 
- 
- 
Method Details- 
isBoundpublic boolean isBound()Check if tunnel is bound- Returns:
- true if tunnel is bound
 
- 
getIdpublic int getId()Get tunnel internal ID.- Returns:
- tunnel internal ID
 
- 
getGuidGet tunnel globally unique identifier.- Returns:
- tunnel globally unique identifier
 
- 
getAddress- Returns:
- the address
 
- 
getNodeIdpublic long getNodeId()- Returns:
- the nodeId
 
- 
getAgentId- Returns:
- the agentId
 
- 
getHardwareIdpublic byte[] getHardwareId()Get node's hardware ID.- Returns:
- node's hardware ID
 
- 
getHardwareIdAsTextGet node's hardware ID in text form.- Returns:
- node's hardware ID in text form
 
- 
getSerialNumberGet node's hardware serial number.- Returns:
- node's hardware serial number
 
- 
getCertificateExpirationTime- Returns:
- the certificateExpirationTime
 
- 
getConnectionTime- Returns:
- the connectionTime
 
- 
getSystemName- Returns:
- the systemName
 
- 
getSystemInformation- Returns:
- the systemInformation
 
- 
getPlatformNameGet platform name for this agent's host.- Returns:
- platform name for this agent's host
 
- 
getAgentVersionGet agent version.- Returns:
- agent version
 
- 
getZoneUINpublic int getZoneUIN()Get zone UIN for this agent. For unbound tunnels it is zone UIN set in agent's configuration file.- Returns:
- zone UIN for this agent
 
- 
getActiveChannelCountpublic int getActiveChannelCount()Get active channel count for this tunnel.- Returns:
- active channel count for this tunnel
 
- 
getHostnameGet remote host name.- Returns:
- remote host name
 
- 
isAgentProxypublic boolean isAgentProxy()Check if agent proxy is enabled on this agent.- Returns:
- true if agent proxy is enabled on this agent
 
- 
isSnmpProxypublic boolean isSnmpProxy()Check if SNMP proxy is enabled on this agent.- Returns:
- true if SNMP proxy is enabled on this agent
 
- 
isSnmpTrapProxypublic boolean isSnmpTrapProxy()Check if SNMP trap proxy is enabled on this agent.- Returns:
- true if SNMP trap proxy is enabled on this agent
 
- 
isSyslogProxypublic boolean isSyslogProxy()Check if syslog proxy is enabled on this agent- Returns:
- true if syslog proxy is enabled on this agent
 
- 
isUserAgentInstalledpublic boolean isUserAgentInstalled()Check if user agent is installed on remote system.- Returns:
- true if user agent is installed on remote system
 
- 
toString
 
-