    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class JavaAgent.oplan.OPSocketParams

    java.lang.Object
       |
       +----JavaAgent.context.RuntimeParams
               |
               +----JavaAgent.context.SocketParams
                       |
                       +----JavaAgent.oplan.OPSocketParams

public class OPSocketParams
extends SocketParams

This class extends SocketParams to allow for one additional parameter to be dealt with, the address of the broker. This parameter must be supplied to an OPAgentContext.

See Also:
  OPAgentContext

##

brokerAddr
  This variable contains the address of the broker

##

OPSocketParams(Hashtable)
  The constructor calls the constructor for SocketParams and extracts the broker address from the given HashTable.

##

getBrokerAddress()
  This function gets the SocketAddress of the broker.

##

brokerAddr

     protected SocketAddress brokerAddr

  This variable contains the address of the broker

##

OPSocketParams

     public OPSocketParams(Hashtable args)

  The constructor calls the constructor for SocketParams and extracts the broker address from the given HashTable.

  Parameters:
    args - the command line arguments

##

getBrokerAddress

     public SocketAddress getBrokerAddress()

  This function gets the SocketAddress of the broker.

  Returns:
    the SocketAddress of the broker (ANS)

    All Packages  Class Hierarchy  This Package  Previous  Next  Index