Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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

final String MANAGER_PROPERTY = System.getProperty("ACS.manager")
final String LOGGING_BINARY_FORMAT = System.getProperty("ACS.loggingBin")
final String NAME_SERVICE = NAMING_SERVICE_NAME.value
final String LOGGING_XML_CHANNEL = LOGGING_CHANNEL_XML_NAME.value
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
EngineAudienceHelper audience = EngineAudienceHelper.NO_AUDIENCE
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


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.

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.

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.

boolean com::cosylab::logging::engine::ACS::ACSRemoteAccess::createStructuredPushConsumer  )  [inline, private]
 

synchronized void com::cosylab::logging::engine::ACS::ACSRemoteAccess::destroy  )  [inline]
 

destroy method comment. Not implemented yet.

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

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.

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

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

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

isInitialized method comment.

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

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

Returns:
true if the consumer is supended

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


Member Data Documentation

ACSStructuredPushConsumer com::cosylab::logging::engine::ACS::ACSRemoteAccess::acsSPS = null [private]
 

EngineAudienceHelper com::cosylab::logging::engine::ACS::ACSRemoteAccess::audience = EngineAudienceHelper.NO_AUDIENCE [private]
 

ConsumerAdmin com::cosylab::logging::engine::ACS::ACSRemoteAccess::consumerAdmin = null [private]
 

EventChannel com::cosylab::logging::engine::ACS::ACSRemoteAccess::eventChannel = null [private]
 

FiltersVector com::cosylab::logging::engine::ACS::ACSRemoteAccess::filters = null [private]
 

boolean com::cosylab::logging::engine::ACS::ACSRemoteAccess::isExternalORB [private]
 

boolean com::cosylab::logging::engine::ACS::ACSRemoteAccess::isInitialized = false [private]
 

ACSListenersDispatcher com::cosylab::logging::engine::ACS::ACSRemoteAccess::listenersDispatcher = null [private]
 

final String com::cosylab::logging::engine::ACS::ACSRemoteAccess::LOGGING_BIN_CHANNEL = LOGGING_CHANNEL_NAME.value [static]
 

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

final String com::cosylab::logging::engine::ACS::ACSRemoteAccess::LOGGING_XML_CHANNEL = LOGGING_CHANNEL_XML_NAME.value [static]
 

ACSLogRetrieval com::cosylab::logging::engine::ACS::ACSRemoteAccess::logRetrieval [private]
 

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

final String com::cosylab::logging::engine::ACS::ACSRemoteAccess::NAME_SERVICE = NAMING_SERVICE_NAME.value [static]
 

ORB com::cosylab::logging::engine::ACS::ACSRemoteAccess::orb [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:13:08 2009 for ACS Java API by doxygen 1.3.8