com::cosylab::acs::maci::plug::ManagerProxy Class Reference

Inheritance diagram for com::cosylab::acs::maci::plug::ManagerProxy:
Inheritance graph
[legend]
Collaboration diagram for com::cosylab::acs::maci::plug::ManagerProxy:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ManagerProxy (si.ijs.maci.Manager manager)
 ManagerProxy (java.lang.Object obj)
ClientInfo[] getClientInfo (int id, int[] handles, String name_wc) throws AcsJNoPermissionEx
Component getComponent (int id, URI curl, boolean activate, StatusHolder status) throws AcsJNoPermissionEx
ComponentInfo[] getComponentInfo (int id, int[] handles, String name_wc, String type_wc, boolean activeOnly) throws AcsJNoPermissionEx
Component[] getComponents (int id, URI[] curls, boolean activate, StatusSeqHolder statuses) throws AcsJNoPermissionEx
ContainerInfo[] getContainerInfo (int id, int[] handles, String name_wc) throws AcsJNoPermissionEx
ComponentInfo getDefaultComponent (int id, String type) throws AcsJNoPermissionEx, NoDefaultComponentException
String getDomain ()
ComponentInfo getDynamicComponent (int id, ComponentSpec componentSpec, boolean markAsDefault) throws AcsJCannotGetComponentEx, AcsJNoPermissionEx, AcsJIncompleteComponentSpecEx, AcsJInvalidComponentSpecEx, AcsJComponentSpecIncompatibleWithActiveComponentEx
ComponentInfo[] getDynamicComponents (int id, ComponentSpec[] components) throws AcsJNoPermissionEx
ComponentInfo getCollocatedComponent (int id, ComponentSpec componentSpec, boolean markAsDefault, URI targetComponentURI) throws AcsJCannotGetComponentEx, AcsJNoPermissionEx, AcsJIncompleteComponentSpecEx, AcsJInvalidComponentSpecEx, AcsJComponentSpecIncompatibleWithActiveComponentEx
Component getComponentNonSticky (int id, URI curl) throws AcsJCannotGetComponentEx, AcsJNoPermissionEx
Component getService (int id, URI curl, boolean activate, StatusHolder status) throws AcsJNoPermissionEx
Component[] getServices (int id, URI[] curls, boolean activate, StatusSeqHolder statuses) throws AcsJNoPermissionEx
ClientInfo login (Client reference) throws AcsJNoPermissionEx
void logout (int id) throws AcsJNoPermissionEx
int registerComponent (int id, URI curl, String type, Component cob) throws AcsJNoPermissionEx
int releaseComponent (int id, URI curl) throws AcsJNoPermissionEx
void releaseComponents (int id, URI[] curls) throws AcsJNoPermissionEx
int forceReleaseComponent (int id, URI curl) throws AcsJNoPermissionEx
Component restartComponent (int id, URI curl) throws AcsJNoPermissionEx
void shutdown (int id, int containers) throws AcsJNoPermissionEx
void unregisterComponent (int id, int handle) throws AcsJNoPermissionEx
void shutdownContainer (int id, String containerName, int action) throws AcsJNoPermissionEx
void makeComponentImmortal (int id, URI curl, boolean immortalState) throws AcsJNoPermissionEx
si.ijs.maci.Manager getManager ()
String toString ()
boolean equals (Object obj)

Protected Attributes

si.ijs.maci.Manager manager

Private Member Functions

void writeObject (ObjectOutputStream stream) throws IOException
void readObject (ObjectInputStream stream) throws IOException, ClassNotFoundException

Static Private Attributes

static final long serialVersionUID = 1616932223611613918L

Detailed Description

CORBA Manager Proxy. This class is used by clients of remote Managers that want to use the acs.maci.Manager interface. In particular it used by the JManager application to implement Manager federation.

In this way we have simmetry:

Todo:
not completely implemented
Author:
Matej Sekoranja (matej.sekoranja@cosylab.com)
Version:
@VERSION@

Constructor & Destructor Documentation

com::cosylab::acs::maci::plug::ManagerProxy::ManagerProxy ( si.ijs.maci.Manager  manager  )  [inline]

Constructor for ManagerProxy.

Parameters:
manager CORBA reference, non-null.

References manager.

com::cosylab::acs::maci::plug::ManagerProxy::ManagerProxy ( java.lang.Object  obj  )  [inline]

Constructor for ManagerProxy.

Parameters:
obj java.lang.Object which is CORBA reference, non-null.

Member Function Documentation

boolean com::cosylab::acs::maci::plug::ManagerProxy::equals ( Object  obj  )  [inline]
See also:
java.lang.Object::equals(Object)

References manager.

int com::cosylab::acs::maci::plug::ManagerProxy::forceReleaseComponent ( int  id,
URI  curl 
) throws AcsJNoPermissionEx [inline]
See also:
com.cosylab.acs.maci.Manager::forceReleaseComponent(int, java.net.URI)

Todo:
Not implemented

Implements com::cosylab::acs::maci::Manager.

ClientInfo [] com::cosylab::acs::maci::plug::ManagerProxy::getClientInfo ( int  id,
int[]  handles,
String  name_wc 
) throws AcsJNoPermissionEx [inline]
See also:
com.cosylab.acs.maci.Manager::getClientInfo(int, int[], java.lang.String)

Todo:
Not implemented

Implements com::cosylab::acs::maci::Manager.

ComponentInfo com::cosylab::acs::maci::plug::ManagerProxy::getCollocatedComponent ( int  id,
ComponentSpec  componentSpec,
boolean  markAsDefault,
URI  targetComponentURI 
) throws AcsJCannotGetComponentEx, AcsJNoPermissionEx, AcsJIncompleteComponentSpecEx, AcsJInvalidComponentSpecEx, AcsJComponentSpecIncompatibleWithActiveComponentEx [inline]
Component com::cosylab::acs::maci::plug::ManagerProxy::getComponent ( int  id,
URI  curl,
boolean  activate,
StatusHolder  status 
) throws AcsJNoPermissionEx [inline]
ComponentInfo [] com::cosylab::acs::maci::plug::ManagerProxy::getComponentInfo ( int  id,
int[]  handles,
String  name_wc,
String  type_wc,
boolean  activeOnly 
) throws AcsJNoPermissionEx [inline]
Component com::cosylab::acs::maci::plug::ManagerProxy::getComponentNonSticky ( int  id,
URI  curl 
) throws AcsJCannotGetComponentEx, AcsJNoPermissionEx [inline]
See also:
com.cosylab.acs.maci.Manager::getComponentNonSticky(int, java.net.URI)

Todo:
Not implemented

Implements com::cosylab::acs::maci::Manager.

Component [] com::cosylab::acs::maci::plug::ManagerProxy::getComponents ( int  id,
URI[]  curls,
boolean  activate,
StatusSeqHolder  statuses 
) throws AcsJNoPermissionEx [inline]
See also:
com.cosylab.acs.maci.Manager::getComponents(int, java.net.URI[], boolean, com.cosylab.acs.maci.StatusSeqHolder)
Deprecated:

Todo:
Not implemented

ContainerInfo [] com::cosylab::acs::maci::plug::ManagerProxy::getContainerInfo ( int  id,
int[]  handles,
String  name_wc 
) throws AcsJNoPermissionEx [inline]
See also:
com.cosylab.acs.maci.Manager::getContainerInfo(int, int[], java.lang.String)

Todo:
Not implemented

Implements com::cosylab::acs::maci::Manager.

ComponentInfo com::cosylab::acs::maci::plug::ManagerProxy::getDefaultComponent ( int  id,
String  type 
) throws AcsJNoPermissionEx, NoDefaultComponentException [inline]
See also:
com.cosylab.acs.maci.Manager::getDefaultComponent(int, java.lang.String)

Todo:
Not implemented

Implements com::cosylab::acs::maci::Manager.

String com::cosylab::acs::maci::plug::ManagerProxy::getDomain (  )  [inline]
ComponentInfo com::cosylab::acs::maci::plug::ManagerProxy::getDynamicComponent ( int  id,
ComponentSpec  componentSpec,
boolean  markAsDefault 
) throws AcsJCannotGetComponentEx, AcsJNoPermissionEx, AcsJIncompleteComponentSpecEx, AcsJInvalidComponentSpecEx, AcsJComponentSpecIncompatibleWithActiveComponentEx [inline]
ComponentInfo [] com::cosylab::acs::maci::plug::ManagerProxy::getDynamicComponents ( int  id,
ComponentSpec[]  components 
) throws AcsJNoPermissionEx [inline]
See also:
com.cosylab.acs.maci.Manager::getDynamicComponents(int, com.cosylab.acs.maci.ComponentSpec[])
Deprecated:

Todo:
Not implemented

si.ijs.maci.Manager com::cosylab::acs::maci::plug::ManagerProxy::getManager (  )  [inline]

Returns the manager.

Returns:
si.ijs.maci.Manager

References manager.

Component com::cosylab::acs::maci::plug::ManagerProxy::getService ( int  id,
URI  curl,
boolean  activate,
StatusHolder  status 
) throws AcsJNoPermissionEx [inline]
Component [] com::cosylab::acs::maci::plug::ManagerProxy::getServices ( int  id,
URI[]  curls,
boolean  activate,
StatusSeqHolder  statuses 
) throws AcsJNoPermissionEx [inline]
See also:
com.cosylab.acs.maci.Manager::getServices(int, java.net.URI[], boolean, com.cosylab.acs.maci.StatusSeqHolder)
Deprecated:

Todo:
Not implemented

ClientInfo com::cosylab::acs::maci::plug::ManagerProxy::login ( Client  reference  )  throws AcsJNoPermissionEx [inline]
void com::cosylab::acs::maci::plug::ManagerProxy::logout ( int  id  )  throws AcsJNoPermissionEx [inline]
void com::cosylab::acs::maci::plug::ManagerProxy::makeComponentImmortal ( int  id,
URI  curl,
boolean  immortalState 
) throws AcsJNoPermissionEx [inline]
See also:
com.cosylab.acs.maci.Manager::makeComponentImmortal(int, java.net.URI, boolean)

Todo:
Not implemented

Implements com::cosylab::acs::maci::Manager.

void com::cosylab::acs::maci::plug::ManagerProxy::readObject ( ObjectInputStream  stream  )  throws IOException, ClassNotFoundException [inline, private]

Reconstitute the ManagerProxy instance from a stream (that is, deserialize it).

References com::cosylab::acs::maci::plug::CORBAReferenceSerializator::deserialize(), and manager.

int com::cosylab::acs::maci::plug::ManagerProxy::registerComponent ( int  id,
URI  curl,
String  type,
Component  cob 
) throws AcsJNoPermissionEx [inline]
See also:
com.cosylab.acs.maci.Manager::registerComponent(int, java.net.URI, java.lang.String, com.cosylab.acs.maci.Component)

Todo:
Not implemented

Implements com::cosylab::acs::maci::Manager.

int com::cosylab::acs::maci::plug::ManagerProxy::releaseComponent ( int  id,
URI  curl 
) throws AcsJNoPermissionEx [inline]
void com::cosylab::acs::maci::plug::ManagerProxy::releaseComponents ( int  id,
URI[]  curls 
) throws AcsJNoPermissionEx [inline]
See also:
com.cosylab.acs.maci.Manager::releaseComponents(int, java.net.URI[])
Deprecated:

Todo:
Not implemented

Component com::cosylab::acs::maci::plug::ManagerProxy::restartComponent ( int  id,
URI  curl 
) throws AcsJNoPermissionEx [inline]
See also:
com.cosylab.acs.maci.Manager::restartComponent(int, java.net.URI)

Todo:
Not implemented

Implements com::cosylab::acs::maci::Manager.

void com::cosylab::acs::maci::plug::ManagerProxy::shutdown ( int  id,
int  containers 
) throws AcsJNoPermissionEx [inline]
void com::cosylab::acs::maci::plug::ManagerProxy::shutdownContainer ( int  id,
String  containerName,
int  action 
) throws AcsJNoPermissionEx [inline]
See also:
com.cosylab.acs.maci.Manager::shutdownContainer(int, java.lang.String, int)

Todo:
Not implemented

Implements com::cosylab::acs::maci::Manager.

String com::cosylab::acs::maci::plug::ManagerProxy::toString (  )  [inline]

Returns a single-line rendition of this instance into text.

Returns:
internal state of this instance

References manager.

void com::cosylab::acs::maci::plug::ManagerProxy::unregisterComponent ( int  id,
int  handle 
) throws AcsJNoPermissionEx [inline]
void com::cosylab::acs::maci::plug::ManagerProxy::writeObject ( ObjectOutputStream  stream  )  throws IOException [inline, private]

Save the state of the ManagerProxy instance to a stream (that is, serialize it).

References manager, and com::cosylab::acs::maci::plug::CORBAReferenceSerializator::serialize().


Member Data Documentation

final long com::cosylab::acs::maci::plug::ManagerProxy::serialVersionUID = 1616932223611613918L [static, private]

Serial version UID.


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

Generated by  doxygen 1.6.2