xmlBlaster 2.2.0 API

org.xmlBlaster.engine.admin.extern.snmp
Class NodeEntryImpl

java.lang.Object
  extended by jax.AgentXEntry
      extended by org.xmlBlaster.engine.admin.extern.snmp.NodeEntry
          extended by org.xmlBlaster.engine.admin.extern.snmp.NodeEntryImpl

public class NodeEntryImpl
extends NodeEntry


Field Summary
 NodeEntryImplPeer nodeEntryImplPeer
           
 
Fields inherited from class org.xmlBlaster.engine.admin.extern.snmp.NodeEntry
clientThreshold, errorLogfile, freeMem, hostname, logLevel, maxClients, nodeIndex, nodeName, nodeUptime, numClients, port, runLevel, totalMem, undo_clientThreshold, undo_errorLogfile, undo_logLevel, undo_maxClients, undo_port, undo_runLevel, usedMem
 
Fields inherited from class jax.AgentXEntry
instance
 
Constructor Summary
NodeEntryImpl(long nodeIndex, NodeEntryImplPeer nodeEntryImplPeer)
          NodeEntryImpl initializes mib variables.
 
Method Summary
 long get_clientThreshold()
          Forwards the call to nodeEntryImplPeer.get_clientThreshold().
 byte[] get_errorLogfile()
          Forwards the call to nodeEntryImplPeer.get_errorLogfile().
 long get_freeMem()
          Forwards the call to nodeEntryImplPeer.get_freeMem().
 byte[] get_hostname()
          Forwards the call to nodeEntryImplPeer.get_hostname().
 int get_logLevel()
          Forwards the call to nodeEntryImplPeer.get_logLevel().
 long get_maxClients()
          orwards the call to nodeEntryImplPeer.get_maxClients().
 byte[] get_nodeName()
          Forwards the call to nodeEntryImplPeer.get_nodeName().
 long get_nodeUptime()
          Forwards the call to nodeEntryImplPeer.get_nodeUptime().
 long get_numClients()
          Forwards the call to nodeEntryImplPeer.get_numClients().
 long get_port()
          Forwards the call to nodeEntryImplPeer.get_port().
 int get_runLevel()
          Forwards the call to nodeEntryImplPeer.get_runLevel().
 long get_totalMem()
          Forwards the call to nodeEntryImplPeer.get_totalMem().
 long get_usedMem()
          Forwards the call to nodeEntryImplPeer.get_usedMem().
 int set_clientThreshold(jax.AgentXSetPhase phase, long value)
          Implements the snmp set command for the mib object clientThreshold.
 int set_errorLogfile(jax.AgentXSetPhase phase, byte[] value)
          Implements the snmp set command for the mib object errorLogfile.
 int set_logLevel(jax.AgentXSetPhase phase, int value)
          Implements the snmp set command for the mib object logLevel.
 int set_maxClients(jax.AgentXSetPhase phase, long value)
          Implements the snmp set command for the mib object maxClients.
 int set_port(jax.AgentXSetPhase phase, long value)
          Implements the snmp set command for the mib object port.
 int set_runLevel(jax.AgentXSetPhase phase, int value)
          Implements the snmp set command for the mib object runLevel.
 
Methods inherited from class org.xmlBlaster.engine.admin.extern.snmp.NodeEntry
get_nodeIndex
 
Methods inherited from class jax.AgentXEntry
getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nodeEntryImplPeer

public NodeEntryImplPeer nodeEntryImplPeer
Constructor Detail

NodeEntryImpl

public NodeEntryImpl(long nodeIndex,
                     NodeEntryImplPeer nodeEntryImplPeer)
NodeEntryImpl initializes mib variables. Builds a reference to NodeEntryImplPeer, which implements NodeEntryImpl methods.

Parameters:
NodeIndex - identifies a node in nodeTable.
NodeEntryImplPeer - implements NodeEntryImpl methods.
Method Detail

get_nodeName

public byte[] get_nodeName()
Forwards the call to nodeEntryImplPeer.get_nodeName().

Overrides:
get_nodeName in class NodeEntry
Returns:
NodeName name of an xmlBlaster node.

get_nodeUptime

public long get_nodeUptime()
Forwards the call to nodeEntryImplPeer.get_nodeUptime().

Overrides:
get_nodeUptime in class NodeEntry
Returns:
NodeUptime uptime of an xmlBlaster node.

get_totalMem

public long get_totalMem()
Forwards the call to nodeEntryImplPeer.get_totalMem().

Overrides:
get_totalMem in class NodeEntry
Returns:
TotalMem total memory of the java virtual machine, where the xmlBlaster runs.

get_usedMem

public long get_usedMem()
Forwards the call to nodeEntryImplPeer.get_usedMem().

Overrides:
get_usedMem in class NodeEntry
Returns:
UsedMem used memory of the java virtual machine, where the xmlBlaster runs.

get_freeMem

public long get_freeMem()
Forwards the call to nodeEntryImplPeer.get_freeMem().

Overrides:
get_freeMem in class NodeEntry
Returns:
FreeMem free memory of the java virtual machine, where the xmlBlaster runs.

get_hostname

public byte[] get_hostname()
Forwards the call to nodeEntryImplPeer.get_hostname().

Overrides:
get_hostname in class NodeEntry
Returns:
Hostname name of the host, where the xmlBlaster runs.

get_port

public long get_port()
Forwards the call to nodeEntryImplPeer.get_port().

Overrides:
get_port in class NodeEntry
Returns:
Port identifies the xmlBlaster port.

set_port

public int set_port(jax.AgentXSetPhase phase,
                    long value)
Implements the snmp set command for the mib object port.

Overrides:
set_port in class NodeEntry
Parameters:
AgentXSetPhase -
Value - to be set
Returns:
AgentXResponsePDU.PROCESSING_ERROR

get_numClients

public long get_numClients()
Forwards the call to nodeEntryImplPeer.get_numClients().

Overrides:
get_numClients in class NodeEntry
Returns:
NumClients actual number of clients in the clientTable.

get_maxClients

public long get_maxClients()
orwards the call to nodeEntryImplPeer.get_maxClients().

Overrides:
get_maxClients in class NodeEntry
Returns:
MaxClients maximum number of clients in the clientTable.

set_maxClients

public int set_maxClients(jax.AgentXSetPhase phase,
                          long value)
Implements the snmp set command for the mib object maxClients.

Overrides:
set_maxClients in class NodeEntry
Parameters:
AgentXSetPhase -
Value - to be set.
Returns:
AgentXResponsePDU.PROCESSING_ERROR

get_clientThreshold

public long get_clientThreshold()
Forwards the call to nodeEntryImplPeer.get_clientThreshold().

Overrides:
get_clientThreshold in class NodeEntry
Returns:
ClientThreshold threshold (%) number of clients in the clientTable.

set_clientThreshold

public int set_clientThreshold(jax.AgentXSetPhase phase,
                               long value)
Implements the snmp set command for the mib object clientThreshold.

Overrides:
set_clientThreshold in class NodeEntry
Parameters:
AgentXSetPhase -
Value - to be set.
Returns:
AgentXResponsePDU.PROCESSING_ERROR

get_errorLogfile

public byte[] get_errorLogfile()
Forwards the call to nodeEntryImplPeer.get_errorLogfile().

Overrides:
get_errorLogfile in class NodeEntry
Returns:
ErrorLogfile name of the error logfile.

set_errorLogfile

public int set_errorLogfile(jax.AgentXSetPhase phase,
                            byte[] value)
Implements the snmp set command for the mib object errorLogfile.

Overrides:
set_errorLogfile in class NodeEntry
Parameters:
AgentXSetPhase -
Value - to be set
Returns:
AgentXResponsePDU.PROCESSING_ERROR

get_logLevel

public int get_logLevel()
Forwards the call to nodeEntryImplPeer.get_logLevel().

Overrides:
get_logLevel in class NodeEntry
Returns:
LogLevel various degrees of log levels (0 = errors, 1 = warnings, 2 = infos).

set_logLevel

public int set_logLevel(jax.AgentXSetPhase phase,
                        int value)
Implements the snmp set command for the mib object logLevel.

Overrides:
set_logLevel in class NodeEntry
Parameters:
AgentXSetPhase -
Value - to be set.
Returns:
AgentXResponsePDU.PROCESSING_ERROR

get_runLevel

public int get_runLevel()
Forwards the call to nodeEntryImplPeer.get_runLevel().

Overrides:
get_runLevel in class NodeEntry
Returns:
int runLevel various degrees of log levels. 0 = halted, 3 = standby, 6 = cleanup, 10 = running.

set_runLevel

public int set_runLevel(jax.AgentXSetPhase phase,
                        int value)
Implements the snmp set command for the mib object runLevel.

Overrides:
set_runLevel in class NodeEntry
Parameters:
AgentXSetPhase -
Value - to be set.
Returns:
AgentXResponsePDU.PROCESSING_ERROR

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.