org.mobicents.tools.sip.balancer
Interface NodeRegisterRMIStub

All Superinterfaces:
java.rmi.Remote

public interface NodeRegisterRMIStub
extends java.rmi.Remote

Author:
jean.deruelle@gmail.com

Method Summary
 void forceRemoval(java.util.ArrayList<SIPNode> ping)
          Method for nodes to force their removal from the load balancer.
 void handlePing(java.util.ArrayList<SIPNode> ping)
          Method for nodes to send keep alives to the load balancer
 

Method Detail

handlePing

void handlePing(java.util.ArrayList<SIPNode> ping)
                throws java.rmi.RemoteException
Method for nodes to send keep alives to the load balancer

Parameters:
ping - list of SIPNode to add to the load balancer's list of availables nodes to dispatch requests to
Throws:
java.rmi.RemoteException - if anything goes wrong during the RMI call

forceRemoval

void forceRemoval(java.util.ArrayList<SIPNode> ping)
                  throws java.rmi.RemoteException
Method for nodes to force their removal from the load balancer. Useful if a node is shutdown cleanly (and the keepalive timeout is long) and can inform the load balancer of its stop

Parameters:
ping - list of SIPNode to remove from the load balancer's list of availables nodes to dispatch requests to
Throws:
java.rmi.RemoteException - if anything goes wrong during the RMI call


Copyright © 2009. All Rights Reserved.