

Public Member Functions | |
| ComponentProxy (Object reference) | |
| ComponentProxy (String name, Object reference) | |
| boolean | doesImplement (String type) |
| void | construct () throws RemoteException |
| void | destruct () throws RemoteException |
| String[] | implementedInterfaces () |
| java.lang.Object | getObject () |
| String | toString () |
Protected Attributes | |
| String | ior |
Private Member Functions | |
| void | checkConstructable () |
| String[] | resolveImplementedInterfaces () |
| void | writeObject (ObjectOutputStream stream) throws IOException |
| void | readObject (ObjectInputStream stream) throws IOException, ClassNotFoundException |
Private Attributes | |
| String | name = defaultName |
| String[] | interfaces |
| Object | reference |
Static Private Attributes | |
| static final long | serialVersionUID = 4012133222547881699L |
| static final String | defaultName = "<unnamed>" |
CORBA Component Proxy.
| com::cosylab::acs::maci::plug::ComponentProxy::ComponentProxy | ( | Object | reference | ) | [inline] |
Construct an implementaiton of Component.
| reference | CORBA reference of Component, non-null |
References ior, and com::cosylab::acs::maci::plug::CORBAReferenceSerializator::serialize().
| com::cosylab::acs::maci::plug::ComponentProxy::ComponentProxy | ( | String | name, | |
| Object | reference | |||
| ) | [inline] |
Construct an implementaiton of Component.
References checkConstructable().
| void com::cosylab::acs::maci::plug::ComponentProxy::checkConstructable | ( | ) | [inline, private] |
Check if Component implements maci::Constructable interface.
Referenced by ComponentProxy(), and readObject().
| void com::cosylab::acs::maci::plug::ComponentProxy::construct | ( | ) | throws RemoteException [inline] |
Implements com::cosylab::acs::maci::Component.
| void com::cosylab::acs::maci::plug::ComponentProxy::destruct | ( | ) | throws RemoteException [inline] |
Implements com::cosylab::acs::maci::Component.
| boolean com::cosylab::acs::maci::plug::ComponentProxy::doesImplement | ( | String | type | ) | [inline] |
Implements com::cosylab::acs::maci::Component.
References reference.
| java.lang.Object com::cosylab::acs::maci::plug::ComponentProxy::getObject | ( | ) | [inline] |
Returns the object.
Implements com::cosylab::acs::maci::Component.
References reference.
| String [] com::cosylab::acs::maci::plug::ComponentProxy::implementedInterfaces | ( | ) | [inline] |
Implements com::cosylab::acs::maci::Component.
References interfaces, and resolveImplementedInterfaces().
| void com::cosylab::acs::maci::plug::ComponentProxy::readObject | ( | ObjectInputStream | stream | ) | throws IOException, ClassNotFoundException [inline, private] |
Reconstitute the ComponentProxy instance from a stream (that is, deserialize it).
References checkConstructable(), com::cosylab::acs::maci::plug::CORBAReferenceSerializator::deserialize(), interfaces, ior, name, and reference.
| String [] com::cosylab::acs::maci::plug::ComponentProxy::resolveImplementedInterfaces | ( | ) | [inline, private] |
Returns list of implemented interfaces.
| list | of implemented interfaces. |
References interfaces, and reference.
Referenced by implementedInterfaces().
| String com::cosylab::acs::maci::plug::ComponentProxy::toString | ( | ) | [inline] |
| void com::cosylab::acs::maci::plug::ComponentProxy::writeObject | ( | ObjectOutputStream | stream | ) | throws IOException [inline, private] |
Save the state of the ComponentProxy instance to a stream (that is, serialize it).
References interfaces, ior, and name.
final String com::cosylab::acs::maci::plug::ComponentProxy::defaultName = "<unnamed>" [static, private] |
Default Component name.
String [] com::cosylab::acs::maci::plug::ComponentProxy::interfaces [private] |
non-null if Component implements maci::Constructable. List of implemented interfaces.
Referenced by implementedInterfaces(), readObject(), resolveImplementedInterfaces(), and writeObject().
String com::cosylab::acs::maci::plug::ComponentProxy::ior [protected] |
Cached serialized reference.
Referenced by ComponentProxy(), readObject(), and writeObject().
String com::cosylab::acs::maci::plug::ComponentProxy::name = defaultName [private] |
Component name, can be null.
Referenced by readObject(), toString(), and writeObject().
Object com::cosylab::acs::maci::plug::ComponentProxy::reference [private] |
CORBA reference.
Referenced by doesImplement(), getObject(), readObject(), resolveImplementedInterfaces(), and toString().
final long com::cosylab::acs::maci::plug::ComponentProxy::serialVersionUID = 4012133222547881699L [static, private] |
Serial version UID.
1.6.2