RMIPeer.javaAPI DocExample825Mon Oct 05 22:13:12 BST 1998jdc.patterns.peer


public interface RMIPeer implements Remote

Fields Summary
Constructors Summary
Methods Summary
public voidaddPeer(jdc.patterns.peer.RMIPeer p)
Add a peer to our list.

public IdentitygetIdentity()

public jdc.patterns.peer.RMIPeergetPeer(Identity i)
Get the peer identified by the given identity.

public java.util.EnumerationgetPeers()
Get list of Peers

public voidhandle(Message m, jdc.patterns.peer.RMIPeer src)
Handle an incoming message.

public voidremovePeer(jdc.patterns.peer.RMIPeer p)
Remove a peer from our list.