com::cosylab::acs::maci::test::TestComponent Class Reference

Inheritance diagram for com::cosylab::acs::maci::test::TestComponent:
Inheritance graph
[legend]
Collaboration diagram for com::cosylab::acs::maci::test::TestComponent:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TestComponent (String name)
 TestComponent (String name, boolean simulateConstructFailure, boolean simulateDestructFailure)
void activate () throws Exception
void deactivate ()
void construct () throws RemoteException
void destruct () throws RemoteException
String[] implementedInterfaces ()
boolean doesImplement (String type)
Object getObject ()
int getHandle ()
void setHandle (int h)

Package Attributes

String name
int handle = 0
boolean simulateConstructFailure = false
boolean simulateDestructFailure = false

Detailed Description

Test implementation of Component.

Author:
Matej Sekoranja (matej.sekoranja@cosylab.com)
Version:
@VERSION@

Constructor & Destructor Documentation

com::cosylab::acs::maci::test::TestComponent::TestComponent ( String  name  )  [inline]

Constructor for TestComponent.

Parameters:
name name of the cob
com::cosylab::acs::maci::test::TestComponent::TestComponent ( String  name,
boolean  simulateConstructFailure,
boolean  simulateDestructFailure 
) [inline]

Constructor for TestComponent, tuning construct/destruct failures.

Parameters:
name name of the cob
simulateConstructFailure if true construct method will throw exception
simulateDestructFailure if true desctruct method will throw exception

Member Function Documentation

void com::cosylab::acs::maci::test::TestComponent::activate (  )  throws Exception [inline]

TectContainer should call this method on activation.

Reimplemented in com::cosylab::acs::maci::test::TestHierarchicalComponent.

Referenced by com::cosylab::acs::maci::test::TestContainer::activate_component().

void com::cosylab::acs::maci::test::TestComponent::construct (  )  throws RemoteException [inline]
void com::cosylab::acs::maci::test::TestComponent::deactivate (  )  [inline]

TectContainer should call this method on deactivation.

Reimplemented in com::cosylab::acs::maci::test::TestHierarchicalComponent.

Referenced by com::cosylab::acs::maci::test::TestContainer::deactivate_components().

void com::cosylab::acs::maci::test::TestComponent::destruct (  )  throws RemoteException [inline]
boolean com::cosylab::acs::maci::test::TestComponent::doesImplement ( String  type  )  [inline]
int com::cosylab::acs::maci::test::TestComponent::getHandle (  )  [inline]
Object com::cosylab::acs::maci::test::TestComponent::getObject (  )  [inline]
String [] com::cosylab::acs::maci::test::TestComponent::implementedInterfaces (  )  [inline]
void com::cosylab::acs::maci::test::TestComponent::setHandle ( int  h  )  [inline]

Member Data Documentation

Component handle.

Referenced by getHandle(), and setHandle().

If true construct method will throw exception.

Referenced by construct().

If true desctruct method will throw exception.

Referenced by destruct().


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

Generated by  doxygen 1.6.2