com::cosylab::logging::engine::ACS::ACSRemoteAccess Class Reference

Inheritance diagram for com::cosylab::logging::engine::ACS::ACSRemoteAccess:
Inheritance graph
[legend]
Collaboration diagram for com::cosylab::logging::engine::ACS::ACSRemoteAccess:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ACSRemoteAccess (ACSListenersDispatcher listeners, ACSLogRetrieval retrieval)
synchronized void destroy ()
ConsumerAdmin getConsumerAdmin ()
ORB getORB ()
void initialize (ORB theORB, Manager manager)
boolean isInitialized ()
boolean isSupended ()
boolean isConnected ()
void setSuspended (boolean suspended)
void close (boolean sync)

Static Public Attributes

static final String MANAGER_PROPERTY = System.getProperty("ACS.manager")
static final String LOGGING_BINARY_FORMAT = System.getProperty("ACS.loggingBin")
static final String NAME_SERVICE = NAMING_SERVICE_NAME.value
static final String LOGGING_XML_CHANNEL = LOGGING_CHANNEL_XML_NAME.value
static final String LOGGING_BIN_CHANNEL = LOGGING_CHANNEL_NAME.value

Private Member Functions

ConstraintExp[] createConstraints ()
boolean createConsumerAdmin ()
void createFilter ()
boolean createStructuredPushConsumer ()
si.ijs.maci.Manager resolveManagerReference ()
NamingContext resolveNamingServiceContext (si.ijs.maci.Manager manager)
boolean resolveNotifyChannel (String channelName, NamingContext namingContext)

Private Attributes

boolean isInitialized = false
ORB orb
boolean isExternalORB
EventChannel eventChannel = null
ConsumerAdmin consumerAdmin = null
ACSStructuredPushConsumer acsSPS = null
ACSListenersDispatcher listenersDispatcher = null
FiltersVector filters = null
ACSLogRetrieval logRetrieval

Detailed Description

This class implements methods for declaring the naming service and the notification channel to which the client is subscribed.

Creation date: (10/30/2001 3:48:32 PM)

Author:
:

Constructor & Destructor Documentation

com::cosylab::logging::engine::ACS::ACSRemoteAccess::ACSRemoteAccess ( ACSListenersDispatcher  listeners,
ACSLogRetrieval  retrieval 
) [inline]

ACSRemoteAccss constructor comment.

Parameters:
listeners The object to send messages to the listeners

References listenersDispatcher, and logRetrieval.


Member Function Documentation

void com::cosylab::logging::engine::ACS::ACSRemoteAccess::close ( boolean  sync  )  [inline]

Close the threads and free all the resources

Parameters:
sync If it is true wait the termination of the threads before returning

Implements com::cosylab::logging::engine::RemoteAccess.

References acsSPS, and com::cosylab::logging::engine::ACS::ACSStructuredPushConsumer::close().

ConstraintExp [] com::cosylab::logging::engine::ACS::ACSRemoteAccess::createConstraints (  )  [inline, private]

This method can not be used in the current implementation of ACS logging But it will be useful for archiving.

Referenced by createFilter().

boolean com::cosylab::logging::engine::ACS::ACSRemoteAccess::createConsumerAdmin (  )  [inline, private]
void com::cosylab::logging::engine::ACS::ACSRemoteAccess::createFilter (  )  [inline, private]

This method can not be used in the current implementation of ACS logging But it will be useful for archiving.

References createConstraints(), and eventChannel.

boolean com::cosylab::logging::engine::ACS::ACSRemoteAccess::createStructuredPushConsumer (  )  [inline, private]
synchronized void com::cosylab::logging::engine::ACS::ACSRemoteAccess::destroy (  )  [inline]
ConsumerAdmin com::cosylab::logging::engine::ACS::ACSRemoteAccess::getConsumerAdmin (  )  [inline]
ORB com::cosylab::logging::engine::ACS::ACSRemoteAccess::getORB (  )  [inline]
void com::cosylab::logging::engine::ACS::ACSRemoteAccess::initialize ( ORB  theORB,
Manager  manager 
) [inline]

Initialize the connection.

Parameters:
theORB The ORB. If it is null then a new CORBA connection is initialized.
manager A reference to the Manager If it is null a reference is built by reading the properties.

Implements com::cosylab::logging::engine::RemoteAccess.

References createConsumerAdmin(), createStructuredPushConsumer(), isExternalORB, isInitialized(), listenersDispatcher, LOGGING_BIN_CHANNEL, LOGGING_XML_CHANNEL, orb, com::cosylab::logging::engine::ACS::ACSListenersDispatcher::publishReport(), resolveManagerReference(), resolveNamingServiceContext(), and resolveNotifyChannel().

boolean com::cosylab::logging::engine::ACS::ACSRemoteAccess::isConnected (  )  [inline]

isInitialized method comment.

Implements com::cosylab::logging::engine::RemoteAccess.

Referenced by initialize().

boolean com::cosylab::logging::engine::ACS::ACSRemoteAccess::isSupended (  )  [inline]
Returns:
true if the consumer is supended

References acsSPS, and com::cosylab::logging::engine::ACS::ACSStructuredPushConsumer::isSuspended().

si.ijs.maci.Manager com::cosylab::logging::engine::ACS::ACSRemoteAccess::resolveManagerReference (  )  [inline, private]
NamingContext com::cosylab::logging::engine::ACS::ACSRemoteAccess::resolveNamingServiceContext ( si.ijs.maci.Manager  manager  )  [inline, private]
boolean com::cosylab::logging::engine::ACS::ACSRemoteAccess::resolveNotifyChannel ( String  channelName,
NamingContext  namingContext 
) [inline, private]
void com::cosylab::logging::engine::ACS::ACSRemoteAccess::setSuspended ( boolean  suspended  )  [inline]

Suspend the notification of the incoming logs

See also:
LCEngine
Parameters:
suspended If true suspend the notification of new logs

References acsSPS, and com::cosylab::logging::engine::ACS::ACSStructuredPushConsumer::setSupended().


Member Data Documentation

Referenced by destroy(), and initialize().

Referenced by initialize().

final String com::cosylab::logging::engine::ACS::ACSRemoteAccess::LOGGING_BINARY_FORMAT = System.getProperty("ACS.loggingBin") [static]

Referenced by initialize().

final String com::cosylab::logging::engine::ACS::ACSRemoteAccess::MANAGER_PROPERTY = System.getProperty("ACS.manager") [static]

Referenced by resolveManagerReference().


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

Generated by  doxygen 1.6.2