org.xmlBlaster.engine.admin.extern.snmp
Class ConnectionEntryImpl
java.lang.Object
jax.AgentXEntry
org.xmlBlaster.engine.admin.extern.snmp.ConnectionEntry
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
Fields inherited from class jax.AgentXEntry |
instance |
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 jax.AgentXEntry |
getInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connectionEntryImplPeer
public ConnectionEntryImplPeer connectionEntryImplPeer
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.
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.
Copyright © 1999-2014 The xmlBlaster.org contributers.