netbula.ORPC

Interface ReplyHandler

public interface ReplyHandler

The hanlder interface for broadcast RPC

Method Summary

boolean
onReply(InetAddress serv, int port, XDT result)
On each reply for a broadcast RPC, this function is called with the server address, port number of the remote program, and result of the RPC.

Method Details

onReply

public boolean onReply(InetAddress serv,
                       int port,
                       XDT result)
On each reply for a broadcast RPC, this function is called with the server address, port number of the remote program, and result of the RPC. When this function returns true, the client will stop processing further replies for the broadcast RPC.