galaxy.lang
Class BrokerProxy

java.lang.Object
  |
  +--galaxy.lang.GalaxyObject
        |
        +--galaxy.lang.BrokerProxy
All Implemented Interfaces:
java.lang.Cloneable

public class BrokerProxy
extends GalaxyObject

This class encapsulates connection and type information for an out broker.


Fields inherited from class galaxy.lang.GalaxyObject
GAL_BINARY, GAL_CLAUSE_FRAME, GAL_FLOAT, GAL_FLOAT_32, GAL_FLOAT_64, GAL_FRAME, GAL_FREE, GAL_INT, GAL_INT_16, GAL_INT_32, GAL_INT_64, GAL_KEYWORD, GAL_LIST, GAL_PRED_FRAME, GAL_PROXY, GAL_PTR, GAL_STRING, GAL_SYMBOL, GAL_TAG, GAL_TOKEN, GAL_TOPIC_FRAME, nameToType, type, typeToName
 
Constructor Summary
BrokerProxy(java.lang.String callId, java.lang.String host, int port, int objectType)
          Creates an out broker proxy object.
 
Method Summary
 java.lang.String getCallId()
           
 java.lang.String getHost()
           
 int getObjectType()
           
 int getPort()
           
 java.lang.String toString()
           
 
Methods inherited from class galaxy.lang.GalaxyObject
getNameForObject, getType, getTypeForObject, getTypeName, isArrayType, nameType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BrokerProxy

public BrokerProxy(java.lang.String callId,
                   java.lang.String host,
                   int port,
                   int objectType)
Creates an out broker proxy object.
Parameters:
callId - call ID of the target out broker
host - host address of the target out broker
port - port of the target out broker
objectType - type of object being served up by the target out broker. Valid values are -1 (untyped) or a GalaxyObjcet type as defined in galaxy.lang.GalaxyObject.
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getObjectType

public int getObjectType()

getCallId

public java.lang.String getCallId()

getHost

public java.lang.String getHost()

getPort

public int getPort()