xmlBlaster 2.1.0 API

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

java.lang.Object
  extended by org.xmlBlaster.engine.admin.extern.snmp.ClientEntryImplPeer

public class ClientEntryImplPeer
extends java.lang.Object

ClientEntryImplPeer is the implementation side of a bridge pattern. Implements the methods, which are called by ClientEntryImpl.

Version:
@VERSION@
Author:
Udo Thalmann

Field Summary
private  int clearClientQueue
           
private  long clientDowntime
           
private  java.lang.String clientName
           
private  long clientQueueMaxEntries
           
private  long clientQueueNumEntries
           
private  long clientQueueThreshold
           
private  long clientUptime
           
private  int connectionState
           
private  long maxSessions
           
private  long numSessions
           
private  int peerType
           
private  long sessionThreshold
           
 
Constructor Summary
ClientEntryImplPeer(java.lang.String clientName, int peerType, int connectionState, long clientQueueMaxEntries, long clientQueueThreshold, int clearClientQueue, long maxSessions, long sessionThreshold)
          Initializes ClientEntry mib variables.
 
Method Summary
 int get_clearClientQueue()
          Gets clearClientQueue from xmlBlaster application.
 long get_clientDowntime()
          gets clientDowntime from xmlBlaster application.
 java.lang.String get_clientName()
          Gets clientName from xmxlBlaster application.
 long get_clientQueueMaxEntries()
          Gets clientQueueMaxEntries from xmlBlaster application.
 long get_clientQueueNumEntries()
          Gets clientQueueNumEntries from xmlBlaster application.
 long get_clientQueueThreshold()
          Gets clientQueueThreshold from xmlBlaster application.
 long get_clientUptime()
          Gets clientUptime from xmlBlaster application.
 int get_connectionState()
          Gets connectionState from xmlBlaster application.
 long get_maxSessions()
          Gets maxSessions from xmlBlaster application.
 long get_numSessions()
          Gets numSessions from xmlBlaster application.
 int get_peerType()
          Gets peerType from xmlBlaster application.
 long get_sessionThreshold()
          Gets sessionThreshold from xmlBlaster application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clientName

private java.lang.String clientName

peerType

private int peerType

connectionState

private int connectionState

clientQueueMaxEntries

private long clientQueueMaxEntries

clientQueueThreshold

private long clientQueueThreshold

clearClientQueue

private int clearClientQueue

maxSessions

private long maxSessions

sessionThreshold

private long sessionThreshold

clientQueueNumEntries

private long clientQueueNumEntries

numSessions

private long numSessions

clientUptime

private long clientUptime

clientDowntime

private long clientDowntime
Constructor Detail

ClientEntryImplPeer

public ClientEntryImplPeer(java.lang.String clientName,
                           int peerType,
                           int connectionState,
                           long clientQueueMaxEntries,
                           long clientQueueThreshold,
                           int clearClientQueue,
                           long maxSessions,
                           long sessionThreshold)
Initializes ClientEntry mib variables.

Parameters:
ClientName - name of client.
PeerType - client or mom.
ConnectionState - up or down.
ClientQueueMaxEntries - maximum number of messages in ptp client queue.
ClientQueueThreshold - threshold number of messages in ptp client queue.
ClearClientQueue - for values > 0, the client queue must be cleared.
MaxSessions - maximum number of client sessions.
SessionThreshold - threshold number of client sessions.
Method Detail

get_clientName

public java.lang.String get_clientName()
Gets clientName from xmxlBlaster application.

Returns:
ClientName name of an xmlBlaster client.

get_peerType

public int get_peerType()
Gets peerType from xmlBlaster application.

Returns:
PeerType type of peer entity (0 = client, 1 = mom).

get_connectionState

public int get_connectionState()
Gets connectionState from xmlBlaster application.

Returns:
ConnectionState state of the client connection (0 = down, 1 = up).

get_clientQueueNumEntries

public long get_clientQueueNumEntries()
Gets clientQueueNumEntries from xmlBlaster application.

Returns:
ClientQueueNumEntries actual number of messages in the point to point client queue.

get_clientQueueMaxEntries

public long get_clientQueueMaxEntries()
Gets clientQueueMaxEntries from xmlBlaster application.

Returns:
ClientQueueMaxEntries maximum number of messages in the point to point client queue.

get_clientQueueThreshold

public long get_clientQueueThreshold()
Gets clientQueueThreshold from xmlBlaster application.

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

get_clearClientQueue

public int get_clearClientQueue()
Gets clearClientQueue from xmlBlaster application.

Returns:
ClearClientQueue for values > 0, the point to point client queue is emptied.

get_numSessions

public long get_numSessions()
Gets numSessions from xmlBlaster application.

Returns:
NumSessions actual number of client sessions in the session table.

get_maxSessions

public long get_maxSessions()
Gets maxSessions from xmlBlaster application.

Returns:
MaxSessions maximum number of client sessions in the session table.

get_sessionThreshold

public long get_sessionThreshold()
Gets sessionThreshold from xmlBlaster application.

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

get_clientUptime

public long get_clientUptime()
Gets clientUptime from xmlBlaster application.

Returns:
ClientUptime client connection uptime.

get_clientDowntime

public long get_clientDowntime()
gets clientDowntime from xmlBlaster application.

Returns:
ClientDowntime client connection downtime.

xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.