com.distinct.rpc
Interface BroadcastHandler


public interface BroadcastHandler

Defines the interface for the handler that is called for each reply package to a RPC broadcast request.

See Also:
ClientUDP

Method Summary
 boolean onReply(XDRType retval, java.net.InetAddress addr)
          Called on each reply to a RPC broadcast request.
 

Method Detail

onReply

public boolean onReply(XDRType retval,
                       java.net.InetAddress addr)
Called on each reply to a RPC broadcast request.
Parameters:
retval - The returned value.
addr - The address of the server that sent the reply packet.
Returns:
true if the client should not wait for further reply packets, false otherwise.