

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 |
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)
| com::cosylab::logging::engine::ACS::ACSRemoteAccess::ACSRemoteAccess | ( | ACSListenersDispatcher | listeners, | |
| ACSLogRetrieval | retrieval | |||
| ) | [inline] |
ACSRemoteAccss constructor comment.
| listeners | The object to send messages to the listeners |
References listenersDispatcher, and logRetrieval.
| void com::cosylab::logging::engine::ACS::ACSRemoteAccess::close | ( | boolean | sync | ) | [inline] |
Close the threads and free all the resources
| 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] |
References consumerAdmin, eventChannel, listenersDispatcher, and com::cosylab::logging::engine::ACS::ACSListenersDispatcher::publishReport().
Referenced by initialize().
| 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] |
References acsSPS, com::cosylab::logging::engine::ACS::ACSStructuredPushConsumer::connect(), com::cosylab::logging::engine::ACS::ACSStructuredPushConsumer::isConnected, com::cosylab::logging::engine::ACS::ACSStructuredPushConsumer::isEventSetup, com::cosylab::logging::engine::ACS::ACSStructuredPushConsumer::isInitialized, listenersDispatcher, logRetrieval, com::cosylab::logging::engine::ACS::ACSListenersDispatcher::publishReport(), and com::cosylab::logging::engine::ACS::ACSStructuredPushConsumer::setupEvents().
Referenced by initialize().
| synchronized void com::cosylab::logging::engine::ACS::ACSRemoteAccess::destroy | ( | ) | [inline] |
destroy method comment. Not implemented yet.
Implements com::cosylab::logging::engine::RemoteAccess.
References acsSPS, com::cosylab::logging::engine::ACS::ACSStructuredPushConsumer::destroy(), isExternalORB, and orb.
| ConsumerAdmin com::cosylab::logging::engine::ACS::ACSRemoteAccess::getConsumerAdmin | ( | ) | [inline] |
References consumerAdmin.
Referenced by com::cosylab::logging::engine::ACS::ACSStructuredPushConsumer::destroy(), com::cosylab::logging::engine::ACS::ACSStructuredPushConsumer::initialize(), com::cosylab::logging::engine::ACS::ACSStructuredPushConsumer::setupEvents(), and com::cosylab::logging::engine::ACS::ACSStructuredPushConsumer::teardownEvents().
| ORB com::cosylab::logging::engine::ACS::ACSRemoteAccess::getORB | ( | ) | [inline] |
References orb.
Referenced by com::cosylab::logging::engine::ACS::ACSStructuredPushConsumer::connect().
| void com::cosylab::logging::engine::ACS::ACSRemoteAccess::initialize | ( | ORB | theORB, | |
| Manager | manager | |||
| ) | [inline] |
Initialize the connection.
| 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] |
Implements com::cosylab::logging::engine::RemoteAccess.
References acsSPS, and com::cosylab::logging::engine::ACS::ACSStructuredPushConsumer::isConnected.
| boolean com::cosylab::logging::engine::ACS::ACSRemoteAccess::isInitialized | ( | ) | [inline] |
isInitialized method comment.
Implements com::cosylab::logging::engine::RemoteAccess.
Referenced by initialize().
| boolean com::cosylab::logging::engine::ACS::ACSRemoteAccess::isSupended | ( | ) | [inline] |
References acsSPS, and com::cosylab::logging::engine::ACS::ACSStructuredPushConsumer::isSuspended().
| si.ijs.maci.Manager com::cosylab::logging::engine::ACS::ACSRemoteAccess::resolveManagerReference | ( | ) | [inline, private] |
References listenersDispatcher, MANAGER_PROPERTY, orb, and com::cosylab::logging::engine::ACS::ACSListenersDispatcher::publishReport().
Referenced by initialize().
| NamingContext com::cosylab::logging::engine::ACS::ACSRemoteAccess::resolveNamingServiceContext | ( | si.ijs.maci.Manager | manager | ) | [inline, private] |
References listenersDispatcher, NAME_SERVICE, and com::cosylab::logging::engine::ACS::ACSListenersDispatcher::publishReport().
Referenced by initialize().
| boolean com::cosylab::logging::engine::ACS::ACSRemoteAccess::resolveNotifyChannel | ( | String | channelName, | |
| NamingContext | namingContext | |||
| ) | [inline, private] |
References eventChannel, listenersDispatcher, and com::cosylab::logging::engine::ACS::ACSListenersDispatcher::publishReport().
Referenced by initialize().
| void com::cosylab::logging::engine::ACS::ACSRemoteAccess::setSuspended | ( | boolean | suspended | ) | [inline] |
Suspend the notification of the incoming logs
| suspended | If true suspend the notification of new logs |
References acsSPS, and com::cosylab::logging::engine::ACS::ACSStructuredPushConsumer::setSupended().
ACSStructuredPushConsumer com::cosylab::logging::engine::ACS::ACSRemoteAccess::acsSPS = null [private] |
Referenced by close(), createStructuredPushConsumer(), destroy(), isConnected(), isSupended(), and setSuspended().
ConsumerAdmin com::cosylab::logging::engine::ACS::ACSRemoteAccess::consumerAdmin = null [private] |
Referenced by createConsumerAdmin(), and getConsumerAdmin().
EventChannel com::cosylab::logging::engine::ACS::ACSRemoteAccess::eventChannel = null [private] |
Referenced by createConsumerAdmin(), createFilter(), and resolveNotifyChannel().
boolean com::cosylab::logging::engine::ACS::ACSRemoteAccess::isExternalORB [private] |
Referenced by destroy(), and initialize().
boolean com::cosylab::logging::engine::ACS::ACSRemoteAccess::isInitialized = false [private] |
final String com::cosylab::logging::engine::ACS::ACSRemoteAccess::LOGGING_BIN_CHANNEL = LOGGING_CHANNEL_NAME.value [static] |
Referenced by initialize().
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] |
Referenced by initialize().
Referenced by ACSRemoteAccess(), and createStructuredPushConsumer().
final String com::cosylab::logging::engine::ACS::ACSRemoteAccess::MANAGER_PROPERTY = System.getProperty("ACS.manager") [static] |
Referenced by resolveManagerReference().
final String com::cosylab::logging::engine::ACS::ACSRemoteAccess::NAME_SERVICE = NAMING_SERVICE_NAME.value [static] |
Referenced by resolveNamingServiceContext().
ORB com::cosylab::logging::engine::ACS::ACSRemoteAccess::orb [private] |
Referenced by destroy(), getORB(), initialize(), and resolveManagerReference().
1.6.2