cast.core.CASTUtils Class Reference

List of all members.

Static Public Member Functions

static< TypeextendsIce.Object,
TypePrxextendsIce.ObjectPrx >
TypePrx 
getCASTIceServer (String _componentID, String _componentHost, ComponentLanguage _componentLanguage, Class< Type > _cls, Class< TypePrx > _prxCls) throws CASTException
static ObjectPrx getIceServer (String _componentID, String _category, String _host, int _port, Communicator _communicator)
static final String concatenate (Object..._strings)
static final< Type extends
Ice.Object > String 
toServantCategory (Class< Type > _cls)
static final TimeServerPrx getTimeServer ()
static ComponentFactoryPrx getComponentFactoryForID (String _id)
static WorkingMemoryPrx createWorkingMemory (Identity _id, Communicator _ic, String _host, int _port) throws ComponentCreationException
static TaskManagerPrx createTaskManager (Identity _id, Communicator _ic, String _host, int _port) throws ComponentCreationException
static ManagedComponentPrx createManagedComponent (Identity _id, Communicator _ic, String _host, int _port) throws ComponentCreationException
static UnmanagedComponentPrx createUnmanagedComponent (Identity _id, Communicator _ic, String _host, int _port) throws ComponentCreationException
static CASTComponentPrx createCASTComponent (Identity _id, Communicator _ic, String _host, int _port) throws ComponentCreationException
static CASTComponentPrx getComponent (Identity _id, Communicator _ic, String _host, int _port) throws CASTException
static String toString (WorkingMemoryAddress _wma)
static String toString (WorkingMemoryChange _wmc)
static String toString (WorkingMemoryChangeFilter _filter)
static String toString (FilterRestriction _restriction)
static String toString (WorkingMemoryOperation _op)
static final< Type extends
Ice.Object > String 
typeName (Type _obj)
static final< Type extends
Ice.Object > String 
typeName (Class< Type > _cls)
static final boolean readAllowed (WorkingMemoryPermissions _permissions)
static final boolean deleteAllowed (WorkingMemoryPermissions _permissions)
static final boolean overwriteAllowed (WorkingMemoryPermissions _permissions)
static Ice.Object createServant (Identity _id, ObjectAdapter _adapter) throws ClassNotFoundException, InstantiationException, IllegalAccessException
static String toString (CASTTime _time)
static final int languageToPort (ComponentLanguage _language)
static void setComponentManager (ComponentManagerPrx _man)
static ComponentManagerPrx getComponentManager ()

Package Functions

boolean lessThan (CASTTime _ct1, CASTTime _ct2)
static< Type extends
Ice.Object, TypePrx extends
Ice.ObjectPrx > TypePrx 
getCASTIceServer (String _componentID, String _componentHost, ComponentLanguage _componentLanguage, Class< Type > _cls, Class< TypePrx > _prxCls, Communicator _communicator) throws CASTException

Static Package Functions

 [static initializer]


Detailed Description

Author:
nah

Definition at line 77 of file CASTUtils.java.


Member Function Documentation

cast.core.CASTUtils.[static initializer] (  )  [static, package]

static final String cast.core.CASTUtils.concatenate ( Object...  _strings  )  [static]

Concatentate a bunch of strings using a StringBuilder.

Parameters:
_strings 
Returns:

Definition at line 209 of file CASTUtils.java.

static CASTComponentPrx cast.core.CASTUtils.createCASTComponent ( Identity  _id,
Communicator  _ic,
String  _host,
int  _port 
) throws ComponentCreationException [static]

Definition at line 340 of file CASTUtils.java.

static ManagedComponentPrx cast.core.CASTUtils.createManagedComponent ( Identity  _id,
Communicator  _ic,
String  _host,
int  _port 
) throws ComponentCreationException [static]

Definition at line 315 of file CASTUtils.java.

static Ice.Object cast.core.CASTUtils.createServant ( Identity  _id,
ObjectAdapter  _adapter 
) throws ClassNotFoundException, InstantiationException, IllegalAccessException [static]

Definition at line 729 of file CASTUtils.java.

static TaskManagerPrx cast.core.CASTUtils.createTaskManager ( Identity  _id,
Communicator  _ic,
String  _host,
int  _port 
) throws ComponentCreationException [static]

Definition at line 306 of file CASTUtils.java.

static UnmanagedComponentPrx cast.core.CASTUtils.createUnmanagedComponent ( Identity  _id,
Communicator  _ic,
String  _host,
int  _port 
) throws ComponentCreationException [static]

Definition at line 331 of file CASTUtils.java.

static WorkingMemoryPrx cast.core.CASTUtils.createWorkingMemory ( Identity  _id,
Communicator  _ic,
String  _host,
int  _port 
) throws ComponentCreationException [static]

Definition at line 297 of file CASTUtils.java.

static final boolean cast.core.CASTUtils.deleteAllowed ( WorkingMemoryPermissions  _permissions  )  [static]

Checks input enum for requisite permissions.

Parameters:
_permissions 
Returns:

Definition at line 712 of file CASTUtils.java.

static<Type extends Ice.Object, TypePrx extends Ice.ObjectPrx> TypePrx cast.core.CASTUtils.getCASTIceServer ( String  _componentID,
String  _componentHost,
ComponentLanguage  _componentLanguage,
Class< Type >  _cls,
Class< TypePrx >  _prxCls,
Communicator  _communicator 
) throws CASTException [package]

Resolve an ice server provided by the given component providing the supplied interface.

Parameters:
<Type> 
_componentID 
_cls 
_componentLanguage 
Exceptions:
CASTException 

Definition at line 145 of file CASTUtils.java.

static <TypeextendsIce.Object,TypePrxextendsIce.ObjectPrx> TypePrx cast.core.CASTUtils.getCASTIceServer ( String  _componentID,
String  _componentHost,
ComponentLanguage  _componentLanguage,
Class< Type >  _cls,
Class< TypePrx >  _prxCls 
) throws CASTException [static]

Resolve an ice server provided by the given component providing the supplied interface.

Parameters:
<Type> Interface type of server
<TypePrx> Proxy type of interface
_componentID The ID of the component.
_componentHost The host of the component.
_componentLanguage The language the component is written in.
_cls The class object of Type
_prxCls The class object of TypePrx
Returns:
Exceptions:
CASTException 

Definition at line 127 of file CASTUtils.java.

static CASTComponentPrx cast.core.CASTUtils.getComponent ( Identity  _id,
Communicator  _ic,
String  _host,
int  _port 
) throws CASTException [static]

Definition at line 350 of file CASTUtils.java.

static ComponentFactoryPrx cast.core.CASTUtils.getComponentFactoryForID ( String  _id  )  [static]

Definition at line 293 of file CASTUtils.java.

static ComponentManagerPrx cast.core.CASTUtils.getComponentManager (  )  [static]

Definition at line 801 of file CASTUtils.java.

static ObjectPrx cast.core.CASTUtils.getIceServer ( String  _componentID,
String  _category,
String  _host,
int  _port,
Communicator  _communicator 
) [static]

Resolve an ice server provided by the given component providing the supplied interface.

Parameters:
<Type> 
_componentID 
_communicator 
_cls 
Returns:

Definition at line 188 of file CASTUtils.java.

static final TimeServerPrx cast.core.CASTUtils.getTimeServer (  )  [static]

Definition at line 245 of file CASTUtils.java.

static final int cast.core.CASTUtils.languageToPort ( ComponentLanguage  _language  )  [static]

Definition at line 783 of file CASTUtils.java.

boolean cast.core.CASTUtils.lessThan ( CASTTime  _ct1,
CASTTime  _ct2 
) [package]

Determines if _ct1 is before _ct2.

Parameters:
_ct1 
_ct2 
Returns:

Definition at line 96 of file CASTUtils.java.

static final boolean cast.core.CASTUtils.overwriteAllowed ( WorkingMemoryPermissions  _permissions  )  [static]

Checks input enum for requisite permissions.

Parameters:
_permissions 
Returns:

Definition at line 724 of file CASTUtils.java.

static final boolean cast.core.CASTUtils.readAllowed ( WorkingMemoryPermissions  _permissions  )  [static]

Checks input enum for requisite permissions.

Parameters:
_permissions 
Returns:

Definition at line 699 of file CASTUtils.java.

static void cast.core.CASTUtils.setComponentManager ( ComponentManagerPrx  _man  )  [static]

Definition at line 797 of file CASTUtils.java.

static final<Type extends Ice.Object> String cast.core.CASTUtils.toServantCategory ( Class< Type >  _cls  )  [static]

Generates a default category name for a server offering this type.

Parameters:
<Type> 
_cls 
Returns:
Exceptions:
CASTException 

Definition at line 225 of file CASTUtils.java.

static String cast.core.CASTUtils.toString ( CASTTime  _time  )  [static]

Definition at line 774 of file CASTUtils.java.

static String cast.core.CASTUtils.toString ( WorkingMemoryOperation  _op  )  [static]

Definition at line 506 of file CASTUtils.java.

static String cast.core.CASTUtils.toString ( FilterRestriction  _restriction  )  [static]

Definition at line 495 of file CASTUtils.java.

static String cast.core.CASTUtils.toString ( WorkingMemoryChangeFilter  _filter  )  [static]

Parameters:
_filter 
Returns:

Definition at line 478 of file CASTUtils.java.

static String cast.core.CASTUtils.toString ( WorkingMemoryChange  _wmc  )  [static]

Parameters:
_wma 
Returns:

Definition at line 459 of file CASTUtils.java.

static String cast.core.CASTUtils.toString ( WorkingMemoryAddress  _wma  )  [static]

Parameters:
_namingHost 
_millis 
connectionCollection 
_outcome 
Returns:
Parameters:
_wma 
Returns:

Definition at line 446 of file CASTUtils.java.

static final<Type extends Ice.Object> String cast.core.CASTUtils.typeName ( Class< Type >  _cls  )  [static]

Get the canonical type name for a given class.

Parameters:
<Type> 
_cls 
Returns:

Definition at line 574 of file CASTUtils.java.

static final<Type extends Ice.Object> String cast.core.CASTUtils.typeName ( Type  _obj  )  [static]

Parameters:
_ptr 
Returns:
Get the canonical type name for a given class.
Parameters:
<Type> 
_cls 
Returns:
Get the canonical type name for a given object.
Parameters:
<Type> 
_cls 
Returns:

Definition at line 563 of file CASTUtils.java.


The documentation for this class was generated from the following file:

Generated on Mon Jun 13 15:55:46 2011 for CAST Java by  doxygen 1.5.8