xmlBlaster 2.1.0 API

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

java.lang.Object
  extended by jax.AgentXEntry
      extended by org.xmlBlaster.engine.admin.extern.snmp.ClientEntry
          extended by org.xmlBlaster.engine.admin.extern.snmp.ClientEntryImpl

public class ClientEntryImpl
extends ClientEntry

This class extends the Java AgentX (JAX) implementation of the table row clientEntry defined in XMLBLASTER-MIB. ClientEntryImpl - is the interface side of a bridge pattern. - contains a reference to the implementation side of the bridge pattern (= ClientEntryImplPeer). - implements its methods by forwarding its calls to ClientEntryImplPeer.

Version:
@VERSION@
Author:
Udo Thalmann

Field Summary
 ClientEntryImplPeer clientEntryImplPeer
           
 
Fields inherited from class org.xmlBlaster.engine.admin.extern.snmp.ClientEntry
clearClientQueue, clientDowntime, clientIndex, clientName, clientQueueMaxEntries, clientQueueNumEntries, clientQueueThreshold, clientUptime, connectionState, maxSessions, nodeIndex, numSessions, peerType, sessionThreshold, undo_clearClientQueue, undo_clientQueueMaxEntries, undo_clientQueueThreshold, undo_maxSessions, undo_sessionThreshold
 
Fields inherited from class jax.AgentXEntry
instance
 
Constructor Summary
ClientEntryImpl(long nodeIndex, long clientIndex, ClientEntryImplPeer clientEntryImplPeer)
          Initializes ClientEntry mib variables.
 
Method Summary
 int get_clearClientQueue()
          Forwards the call to clientEntryImplPeer.get_clearClientQueue().
 long get_clientDowntime()
          Forwards the call to clientEntryImplPeer.get_clientDowntime().
 byte[] get_clientName()
          Forwards the call to clientEntryImplPeer.get_clientName().
 long get_clientQueueMaxEntries()
          Forwards the call to clientEntryImplPeer.get_clientQueueMaxEntries().
 long get_clientQueueNumEntries()
          Forwards the call to clientEntryImplPeer.get_clientQueueNumEntries().
 long get_clientQueueThreshold()
          Forwards the call to clientEntryImplPeer.get_clientQueueThreshold().
 long get_clientUptime()
          Forwards the call to clientEntryImplPeer.get_clientUptime().
 int get_connectionState()
          Forwards the call to clientEntryImplPeer.get_connectionState().
 long get_maxSessions()
          Forwards the call to clientEntryImplPeer.get_maxSessions().
 long get_numSessions()
          Forwards the call to clientEntryImplPeer.get_numSessions().
 int get_peerType()
          Forwards the call to clientEntryImplPeer.get_peerType().
 long get_sessionThreshold()
          Forwards the call to clientEntryImplPeer.get_sessionThreshold().
 int set_clearClientQueue(jax.AgentXSetPhase phase, int value)
          Implements the snmp set command for the mib object clearClientQueue.
 int set_clientQueueMaxEntries(jax.AgentXSetPhase phase, long value)
          Implements the snmp set command for the mib object clientQueueMaxEntries.
 int set_clientQueueThreshold(jax.AgentXSetPhase phase, long value)
          Implements the snmp set command for the mib object clientQueueThreshold.
 int set_maxSessions(jax.AgentXSetPhase phase, long value)
          Implements the snmp set command for the mib object maxSessions.
 int set_sessionThreshold(jax.AgentXSetPhase phase, long value)
          Implements the snmp set command for the mib object sessionThreshold.
 
Methods inherited from class org.xmlBlaster.engine.admin.extern.snmp.ClientEntry
get_clientIndex, 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

clientEntryImplPeer

public ClientEntryImplPeer clientEntryImplPeer
Constructor Detail

ClientEntryImpl

public ClientEntryImpl(long nodeIndex,
                       long clientIndex,
                       ClientEntryImplPeer clientEntryImplPeer)
Initializes ClientEntry mib variables. Builds a reference to ClientEntryImplPeer, which implements ClientEntryImpl methods.

Parameters:
NodeIndex - identifies a node in nodeTable.
ClientIndex - identifies a client in clientTable together with nodeIndex.
ClientEntryImplPeer - implements ClientEntryImpl methods.
Method Detail

get_clientName

public byte[] get_clientName()
Forwards the call to clientEntryImplPeer.get_clientName().

Overrides:
get_clientName in class ClientEntry
Returns:
ClientName name of an xmlBlaster client.

get_peerType

public int get_peerType()
Forwards the call to clientEntryImplPeer.get_peerType().

Overrides:
get_peerType in class ClientEntry
Returns:
PeerType type of peer entity (0 = client, 1 = mom).

get_connectionState

public int get_connectionState()
Forwards the call to clientEntryImplPeer.get_connectionState().

Overrides:
get_connectionState in class ClientEntry
Returns:
ConnectionState state of the client connection (0 = down, 1 = up).

get_clientQueueNumEntries

public long get_clientQueueNumEntries()
Forwards the call to clientEntryImplPeer.get_clientQueueNumEntries().

Overrides:
get_clientQueueNumEntries in class ClientEntry
Returns:
ClientQueueNumEntries actual number of messages in the point to point client queue.

get_clientQueueMaxEntries

public long get_clientQueueMaxEntries()
Forwards the call to clientEntryImplPeer.get_clientQueueMaxEntries().

Overrides:
get_clientQueueMaxEntries in class ClientEntry
Returns:
ClientQueueMaxEntries maximum number of messages in the point to point client queue.

set_clientQueueMaxEntries

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

Overrides:
set_clientQueueMaxEntries in class ClientEntry
Parameters:
AgentXSetPhase -
Value - to be set.
Returns:
AgentXResponsePDU.PROCESSING_ERROR

get_clientQueueThreshold

public long get_clientQueueThreshold()
Forwards the call to clientEntryImplPeer.get_clientQueueThreshold().

Overrides:
get_clientQueueThreshold in class ClientEntry
Returns:
ClientQueueThreshold threshold (%) number of messages in the point to point client queue.

set_clientQueueThreshold

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

Overrides:
set_clientQueueThreshold in class ClientEntry
Parameters:
AgentXSetPhase -
Value - to be set
Returns:
AgentXResponsePDU.PROCESSING_ERROR

get_clearClientQueue

public int get_clearClientQueue()
Forwards the call to clientEntryImplPeer.get_clearClientQueue().

Overrides:
get_clearClientQueue in class ClientEntry
Returns:
ClearClientQueue for values > 0, the point to point client queue is emptied.

set_clearClientQueue

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

Overrides:
set_clearClientQueue in class ClientEntry
Parameters:
AgentXSetPhase -
Value - to be set.
Returns:
AgentXResponsePDU.PROCESSING_ERROR

get_numSessions

public long get_numSessions()
Forwards the call to clientEntryImplPeer.get_numSessions().

Overrides:
get_numSessions in class ClientEntry
Returns:
NumSessions actual number of client sessions in the session table.

get_maxSessions

public long get_maxSessions()
Forwards the call to clientEntryImplPeer.get_maxSessions().

Overrides:
get_maxSessions in class ClientEntry
Returns:
MaxSessions maximum number of client sessions in the session table.

set_maxSessions

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

Overrides:
set_maxSessions in class ClientEntry
Parameters:
AgentXSetPhase -
Value - to be set
Returns:
AgentXResponsePDU.PROCESSING_ERROR

get_sessionThreshold

public long get_sessionThreshold()
Forwards the call to clientEntryImplPeer.get_sessionThreshold().

Overrides:
get_sessionThreshold in class ClientEntry
Returns:
SessionThreshold threshold (%) number of client sessions in the session table.

set_sessionThreshold

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

Overrides:
set_sessionThreshold in class ClientEntry
Parameters:
AgentXSetPhase -
Value - to be set.
Returns:
AgentXResponsePDU.PROCESSING_ERROR

get_clientUptime

public long get_clientUptime()
Forwards the call to clientEntryImplPeer.get_clientUptime().

Overrides:
get_clientUptime in class ClientEntry
Returns:
ClientUptime client connection uptime.

get_clientDowntime

public long get_clientDowntime()
Forwards the call to clientEntryImplPeer.get_clientDowntime().

Overrides:
get_clientDowntime in class ClientEntry
Returns:
ClientDowntime client connection downtime.

xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.