public class AcsNcReconnectionCallback
extends OSReconnectionCallbackPOA
ReconnectionCallback
from TAO's notify extensions, using an inheritance structure
compatible with ACS's OffShoot concept.
The publisher and subscriber classes use this class to register themselves
for future reconnect(Object) callbacks after a service restart.
This class encapsulates the handling of the reconnection API.
TODO: Merge with event callback offshoot| Constructor and Description |
|---|
AcsNcReconnectionCallback(ReconnectableParticipant parti,
java.util.logging.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
void |
disconnect() |
boolean |
is_alive() |
void |
reconnect(org.omg.CORBA.Object new_connection)
Called by the NotifyService after service restart, giving the new EventChannelFactory reference.
|
void |
registerForReconnect(ContainerServicesBase services,
EventChannelFactory ecf)
Called by the event subscriber or supplier when connecting to the NC.
|
public AcsNcReconnectionCallback(ReconnectableParticipant parti, java.util.logging.Logger logger)
public boolean is_alive()
NotifyExt.ReconnectionCallbackOperations#is_alive()public void reconnect(org.omg.CORBA.Object new_connection)
NotifyExt.ReconnectionCallbackOperations#reconnect(org.omg.CORBA.Object)public void registerForReconnect(ContainerServicesBase services, EventChannelFactory ecf) throws AcsJContainerServicesEx, AcsJIllegalArgumentEx
services and
registers it with the NotifyService's ReconnectionRegistry.
AcsJContainerServicesExAcsJIllegalArgumentExpublic void disconnect()