Package org.apache.geronimo.messaging.remotenode

Examples of org.apache.geronimo.messaging.remotenode.RemoteNode


     * Handles the notifications sent by RemoteNodeManager.  
     */
    private class RemoteNodeTracker implements RemoteNodeEventListener {

        public void fireRemoteNodeEvent(RemoteNodeEvent anEvent) {
            RemoteNode node = anEvent.getRemoteNode();
            if ( anEvent.isAddEvent() ) {
                // When a RemoteNode is added, registers ourself as the Msg
                // consumer.
                node.setMsgProducerOut(newInboundMsgProducerOut());
            } else {
                // Reset as we are not more a Msg consumer. 
                node.setMsgProducerOut(null);
            }
        }
View Full Code Here


     * Handles the notifications sent by RemoteNodeManager.  
     */
    private class RemoteNodeTracker implements RemoteNodeEventListener {

        public void fireRemoteNodeEvent(RemoteNodeEvent anEvent) {
            RemoteNode node = anEvent.getRemoteNode();
            if ( anEvent.isAddEvent() ) {
                // When a RemoteNode is added, registers ourself as the Msg
                // consumer.
                node.setMsgProducerOut(newInboundMsgProducerOut());
            } else {
                // Reset as we are not more a Msg consumer. 
                node.setMsgProducerOut(null);
            }
        }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.messaging.remotenode.RemoteNode

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.