public final class ACSRemoteAccess extends java.lang.Object implements RemoteAccess
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LOGGING_BIN_CHANNEL |
static java.lang.String |
LOGGING_XML_CHANNEL |
static java.lang.String |
MANAGER_PROPERTY |
static java.lang.String |
NAME_SERVICE |
| Constructor and Description |
|---|
ACSRemoteAccess(ACSListenersDispatcher listeners,
ACSLogRetrieval retrieval,
AcsLogger logger)
ACSRemoteAccss constructor comment.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close(boolean sync)
Close the threads and free all the resources
|
void |
destroy()
destroy method comment.
|
ConsumerAdmin |
getConsumerAdmin() |
org.omg.CORBA.ORB |
getORB() |
void |
initialize(org.omg.CORBA.ORB theORB,
Manager manager)
Initialize the connection.
|
boolean |
isConnected() |
boolean |
isInitialized()
isInitialized method comment.
|
boolean |
isSupended() |
void |
setSuspended(boolean suspended)
Suspend the notification of the incoming logs
|
public static final java.lang.String MANAGER_PROPERTY
public static final java.lang.String NAME_SERVICE
public static final java.lang.String LOGGING_XML_CHANNEL
public static final java.lang.String LOGGING_BIN_CHANNEL
public ACSRemoteAccess(ACSListenersDispatcher listeners, ACSLogRetrieval retrieval, AcsLogger logger)
listeners - The object to send messages to the listenerspublic void destroy()
destroy in interface RemoteAccesspublic ConsumerAdmin getConsumerAdmin()
public org.omg.CORBA.ORB getORB()
public void initialize(org.omg.CORBA.ORB theORB,
Manager manager)
initialize in interface RemoteAccesstheORB - 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.public boolean isInitialized()
isInitialized in interface RemoteAccesspublic boolean isSupended()
public boolean isConnected()
isConnected in interface RemoteAccesspublic void setSuspended(boolean suspended)
suspended - If true suspend the notification of new logsLCEnginepublic void close(boolean sync)
close in interface RemoteAccesssync - If it is true wait the termination of the threads before returning