|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jax.AgentXEntry org.xmlBlaster.engine.admin.extern.snmp.SessionEntry org.xmlBlaster.engine.admin.extern.snmp.SessionEntryImpl
public class SessionEntryImpl
This class extends the Java AgentX (JAX) implementation of the table row sessionEntry defined in XMLBLASTER-MIB. SessionEntryImpl is the interface side of a bridge pattern. Contains a reference to the implementation side of the bridge pattern (= SessionEntryImplPeer). Implements its methods by forwarding its calls to SessionEntryImplPeer.
Field Summary | |
---|---|
SessionEntryImplPeer |
sessionEntryImplPeer
|
Fields inherited from class org.xmlBlaster.engine.admin.extern.snmp.SessionEntry |
---|
cbQueueMaxEntries, cbQueueNumEntries, cbQueueThreshold, clearCbQueue, clientIndex, closeSession, nodeIndex, sessionIndex, sessionName, undo_cbQueueMaxEntries, undo_cbQueueThreshold, undo_clearCbQueue, undo_closeSession |
Fields inherited from class jax.AgentXEntry |
---|
instance |
Constructor Summary | |
---|---|
SessionEntryImpl(long nodeIndex,
long clientIndex,
long sessionIndex,
SessionEntryImplPeer sessionEntryImplPeer)
SessionEntryImpl initializes mib variables. |
Method Summary | |
---|---|
long |
get_cbQueueMaxEntries()
Forwards the call to sessionEntryImplPeer.get_cbQueueMaxEntries(). |
long |
get_cbQueueNumEntries()
Forwards the call to sessionEntryImplPeer.get_cbQueueNumEntries(). |
long |
get_cbQueueThreshold()
Forwards the call to sessionEntryImplPeer.get_cbQueueThreshold(). |
int |
get_clearCbQueue()
Indicates the callback queue status. |
int |
get_closeSession()
Forwards the call to sessionEntryImplPeer.get_closeSession(). |
byte[] |
get_sessionName()
Forwards the call to sessionEntryImplPeer.get_sessionName(). |
int |
set_cbQueueMaxEntries(jax.AgentXSetPhase phase,
long value)
Implements the snmp set command for the mib object cbQueueMaxEntries. |
int |
set_cbQueueThreshold(jax.AgentXSetPhase phase,
long value)
Implements the snmp set command for the mib object cbQueueThreshold. |
int |
set_clearCbQueue(jax.AgentXSetPhase phase,
int value)
Implements the snmp set command for the mib object clearCbQueue. |
int |
set_closeSession(jax.AgentXSetPhase phase,
int value)
Implements the snmp set command for the mib object closeSession. |
Methods inherited from class org.xmlBlaster.engine.admin.extern.snmp.SessionEntry |
---|
get_clientIndex, get_nodeIndex, get_sessionIndex |
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 |
---|
public SessionEntryImplPeer sessionEntryImplPeer
Constructor Detail |
---|
public SessionEntryImpl(long nodeIndex, long clientIndex, long sessionIndex, SessionEntryImplPeer sessionEntryImplPeer)
NodeIndex
- identifies a node in node table.ClientIndex
- identifies a client in client table together with nodeIndex.SessionIndex
- identfies a session in session table together with nodeIndex and clientIndex.SessionEntryImplPeer
- implements SessionEntryImpl methods.Method Detail |
---|
public byte[] get_sessionName()
get_sessionName
in class SessionEntry
public long get_cbQueueNumEntries()
get_cbQueueNumEntries
in class SessionEntry
public long get_cbQueueMaxEntries()
get_cbQueueMaxEntries
in class SessionEntry
public int set_cbQueueMaxEntries(jax.AgentXSetPhase phase, long value)
set_cbQueueMaxEntries
in class SessionEntry
AgentXSetPhase
- Value
- is the new value of cbQueueMaxEntries.
public long get_cbQueueThreshold()
get_cbQueueThreshold
in class SessionEntry
public int set_cbQueueThreshold(jax.AgentXSetPhase phase, long value)
set_cbQueueThreshold
in class SessionEntry
AgentXSetPhase
- phase:Value
- is the new value for cbQueueThreshold.
public int get_clearCbQueue()
get_clearCbQueue
in class SessionEntry
public int set_clearCbQueue(jax.AgentXSetPhase phase, int value)
set_clearCbQueue
in class SessionEntry
AgentXSetPhase
- Value
- indicates whether the callback queue has to emptied (> 0) or not (= 0).
public int get_closeSession()
get_closeSession
in class SessionEntry
public int set_closeSession(jax.AgentXSetPhase phase, int value)
set_closeSession
in class SessionEntry
AgentXSetPhase
- Value
- indicates whether the session is open (= 0) or closed (> 1).
|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |