Public Member Functions | Static Public Attributes

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

Inheritance diagram for com.cosylab.logging.engine.ACS.ACSRemoteAccess:
com.cosylab.logging.engine.RemoteAccess

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

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 
)

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  ) 

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 com.cosylab.logging.engine.ACS.ACSStructuredPushConsumer.close().

synchronized void com.cosylab.logging.engine.ACS.ACSRemoteAccess.destroy (  ) 

destroy method comment. Not implemented yet.

Implements com.cosylab.logging.engine.RemoteAccess.

References com.cosylab.logging.engine.ACS.ACSStructuredPushConsumer.destroy().

ORB com.cosylab.logging.engine.ACS.ACSRemoteAccess.getORB (  ) 
void com.cosylab.logging.engine.ACS.ACSRemoteAccess.initialize ( ORB  theORB,
Manager  manager 
)

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 com.cosylab.logging.engine.ACS.ACSRemoteAccess.isInitialized(), com.cosylab.logging.engine.ACS.ACSRemoteAccess.LOGGING_BIN_CHANNEL, com.cosylab.logging.engine.ACS.ACSRemoteAccess.LOGGING_XML_CHANNEL, and com.cosylab.logging.engine.ACS.ACSListenersDispatcher.publishReport().

boolean com.cosylab.logging.engine.ACS.ACSRemoteAccess.isConnected (  ) 
boolean com.cosylab.logging.engine.ACS.ACSRemoteAccess.isInitialized (  ) 
boolean com.cosylab.logging.engine.ACS.ACSRemoteAccess.isSupended (  ) 
Returns:
true if the consumer is supended

References com.cosylab.logging.engine.ACS.ACSStructuredPushConsumer.isSuspended().

void com.cosylab.logging.engine.ACS.ACSRemoteAccess.setSuspended ( boolean  suspended  ) 

Suspend the notification of the incoming logs

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

References com.cosylab.logging.engine.ACS.ACSStructuredPushConsumer.setSupended().


Member Data Documentation

final String com.cosylab.logging.engine.ACS.ACSRemoteAccess.LOGGING_BINARY_FORMAT = System.getProperty("ACS.loggingBin") [static]
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]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties