public class CobolConnectionEventListener
extends Object
implements ConnectionEventListener, Serializable
See Also:
Method Summary | |
---|---|
protected void | sendEvent int eventType,
Exception ex,
Object connectionHandle
Send the event to all listeners of the connectionEvent. |
protected void |
addConnectorListener (ConnectionEventListener l)
Add a connection listener to the list of listeners. |
protected void |
removeConnectorListener(ConnectionEventListener l)
Remove a connection listener to the list of listeners. |
void | connectionClosed (equals event)
Send a connection closed event. |
void | connectionErrorOccurred(equals event)
Send a connection error occurred event. |
void | localTransactionCommitted(equals event)
Send a local transaction committed event. |
void | localTransactionRolledBack(equals event)
Send a local transaction rolled back event. |
void | localTransactionStarted(equals event)
Send a local transaction started event. |
public CobolConnectionEventListener(ManagedConnection mcon)
Create a connection event listener.
protected void sendEvent(int eventType, Exception ex, Object connectionHandle)
Send the event to all listeners of the connectionEvent.
protected void addConnectorListener(ConnectionEventListener l)
Add a connection listener to the list of listeners.
protected void removeConnectorListener(ConnectionEventListener l)
Remove a connection listener to the list of listeners.
void connectionClosed(equals event)
Send a connection closed event.
void connectionErrorOccurred(equals event)
Send a connection error occurred event.
void localTransactionCommitted(equals event)
Send a local transaction committed event.
void localTransactionRolledBack(equals event)
Send a local transaction rolled back event.
void localTransactionStarted(equals event)
Send a local transaction started event.