Package org.exolab.jms.net.connector

Examples of org.exolab.jms.net.connector.ManagedConnectionListener


     * Notifies of a successful ping.
     *
     * @param token the token sent in the ping
     */
    public void pinged(int token) {
        ManagedConnectionListener listener = getConnectionEventListener();
        if (listener != null) {
            listener.pinged(this);
        }
    }
View Full Code Here


        }
        if (invoker == null) {
            throw new IllegalStateException("No connection");
        }
        if (invoker.isAlive()) {
            ManagedConnectionListener listener = getConnectionEventListener();
            if (listener != null) {
                listener.pinged(this);
            }
        }
    }
View Full Code Here

     */
    protected void destroyLocal() throws ResourceException {
        synchronized (this) {
            _remoteInvoker = null;
        }
        ManagedConnectionListener listener = getConnectionEventListener();
        if (listener != null) {
            listener.closed(this);
        }
    }
View Full Code Here

            invoker = _remoteInvoker;
        }
        if (invoker != null) {
            try {
                invoker.ping();
                ManagedConnectionListener listener
                        = getConnectionEventListener();
                if (listener != null) {
                    listener.pinged(this);
                }
            } catch (RemoteException exception) {
                throw new ResourceException(exception);
            }
        } else {
View Full Code Here

TOP

Related Classes of org.exolab.jms.net.connector.ManagedConnectionListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.