Package org.netxms.client
Class AgentTunnel
- java.lang.Object
-
- org.netxms.client.AgentTunnel
-
public class AgentTunnel extends Object
Agent tunnel information
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAgentTunnel(org.netxms.base.NXCPMessage msg, long baseId)Create from NXCP message
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetActiveChannelCount()Get active channel count for this tunnel.InetAddressgetAddress()UUIDgetAgentId()StringgetAgentVersion()Get agent version.UUIDgetGuid()Get tunnel globally unique identifier.StringgetHostname()Get remote host name.intgetId()Get tunnel internal ID.longgetNodeId()StringgetPlatformName()Get platform name for this agent's host.StringgetSystemInformation()StringgetSystemName()longgetZoneUIN()Get zone UIN for this agent.booleanisAgentProxy()Check if agent proxy is enabled on this agent.booleanisBound()Check if tunnel is boundbooleanisSnmpProxy()Check if SNMP proxy is enabled on this agent.booleanisSnmpTrapProxy()Check if SNMP trap proxy is enabled on this agent.booleanisUserAgentInstalled()Check if user agent is installed on remote system.StringtoString()
-
-
-
Method Detail
-
isBound
public boolean isBound()
Check if tunnel is bound- Returns:
- true if tunnel is bound
-
getId
public int getId()
Get tunnel internal ID.- Returns:
- tunnel internal ID
-
getGuid
public UUID getGuid()
Get tunnel globally unique identifier.- Returns:
- tunnel globally unique identifier
-
getAddress
public InetAddress getAddress()
- Returns:
- the address
-
getNodeId
public long getNodeId()
- Returns:
- the nodeId
-
getAgentId
public UUID getAgentId()
- Returns:
- the agentId
-
getSystemName
public String getSystemName()
- Returns:
- the systemName
-
getSystemInformation
public String getSystemInformation()
- Returns:
- the systemInformation
-
getPlatformName
public String getPlatformName()
Get platform name for this agent's host.- Returns:
- platform name for this agent's host
-
getAgentVersion
public String getAgentVersion()
Get agent version.- Returns:
- agent version
-
getZoneUIN
public long 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
-
getActiveChannelCount
public int getActiveChannelCount()
Get active channel count for this tunnel.- Returns:
- active channel count for this tunnel
-
getHostname
public String getHostname()
Get remote host name.- Returns:
- remote host name
-
isAgentProxy
public boolean isAgentProxy()
Check if agent proxy is enabled on this agent.- Returns:
- true if agent proxy is enabled on this agent
-
isSnmpProxy
public boolean isSnmpProxy()
Check if SNMP proxy is enabled on this agent.- Returns:
- true if SNMP proxy is enabled on this agent
-
isSnmpTrapProxy
public boolean isSnmpTrapProxy()
Check if SNMP trap proxy is enabled on this agent.- Returns:
- true if SNMP trap proxy is enabled on this agent
-
isUserAgentInstalled
public boolean isUserAgentInstalled()
Check if user agent is installed on remote system.- Returns:
- true if user agent is installed on remote system
-
-