xmlBlaster 2.1.0 API

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

java.lang.Object
  extended by jax.AgentXEntry
      extended by org.xmlBlaster.engine.admin.extern.snmp.ConnectionEntry
          extended by org.xmlBlaster.engine.admin.extern.snmp.ConnectionEntryImpl

public class ConnectionEntryImpl
extends ConnectionEntry

This class extends the Java AgentX (JAX) implementation of the table row connectionEntry defined in XMLBLASTER-MIB. ConnectionEntryImpl is the interface side of a bridge pattern. Ccontains a reference to the implementation side of the bridge pattern (= ConnectionEntryImplPeer). Implements its methods by forwarding its calls to ConnectionEntryImplPeer.

Version:
@VERSION@
Author:
Udo Thalmann

Field Summary
 ConnectionEntryImplPeer connectionEntryImplPeer
           
 
Fields inherited from class org.xmlBlaster.engine.admin.extern.snmp.ConnectionEntry
connectionAddress, connectionHost, connectionIndex, connectionPort, connectionProtocol, nodeIndex
 
Fields inherited from class jax.AgentXEntry
instance
 
Constructor Summary
ConnectionEntryImpl(long nodeIndex, long connectionIndex, ConnectionEntryImplPeer connectionEntryImplPeer)
          Initializes mib variables.
 
Method Summary
 byte[] get_connectionAddress()
          Forwards the call to connectionEntryImplPeer.get_connectionAddress().
 byte[] get_connectionHost()
          Forwards the call to connectionEntryImplPeer.get_connectionHost().
 long get_connectionPort()
          Forwards the call to connectionEntryImplPeer.get_connectionHost().
 int get_connectionProtocol()
          Forwards the call to connectionEntryImplPeer.get_connectionProtocol().
 
Methods inherited from class org.xmlBlaster.engine.admin.extern.snmp.ConnectionEntry
get_connectionIndex, 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

connectionEntryImplPeer

public ConnectionEntryImplPeer connectionEntryImplPeer
Constructor Detail

ConnectionEntryImpl

public ConnectionEntryImpl(long nodeIndex,
                           long connectionIndex,
                           ConnectionEntryImplPeer connectionEntryImplPeer)
Initializes mib variables. Builds a reference to ConnectionEntryImplPeer, which implements ConnectionEntryImpl methods.

Parameters:
NodeIndex - identifies a node in nodeTable.
ConnectionIndex - identifies a connection in connectionTable together with nodeIndex.
ConnectionEntryImplPeer - implements ConnectionEntryImpl methods.
Method Detail

get_connectionHost

public byte[] get_connectionHost()
Forwards the call to connectionEntryImplPeer.get_connectionHost().

Overrides:
get_connectionHost in class ConnectionEntry
Returns:
ConnectionHost name of the connected host.

get_connectionPort

public long get_connectionPort()
Forwards the call to connectionEntryImplPeer.get_connectionHost().

Overrides:
get_connectionPort in class ConnectionEntry
Returns:
ConnectionPort port of the connected host.

get_connectionAddress

public byte[] get_connectionAddress()
Forwards the call to connectionEntryImplPeer.get_connectionAddress().

Overrides:
get_connectionAddress in class ConnectionEntry
Returns:
ConnectionAddress address of the connected host.

get_connectionProtocol

public int get_connectionProtocol()
Forwards the call to connectionEntryImplPeer.get_connectionProtocol().

Overrides:
get_connectionProtocol in class ConnectionEntry
Returns:
ConnectionProtocol protocol used for connection, i.e. bootstrap, ior, rmi, xmlrpc, socket, etc.

xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.