Rice Pastry API

rice.pastry
Interface NodeSetEventSource

All Known Implementing Classes:
RoutingTable, SimilarSet

public interface NodeSetEventSource

DESCRIBE THE INTERFACE

Version:
$Id: pretty.settings 2305 2005-03-11 20:22:33Z jeffh $
Author:
jeffh

Method Summary
 void addNodeSetListener(NodeSetListener listener)
          Adds the specified NodeSet listener to receive NodeSet events from this component.
 void removeNodeSetListener(NodeSetListener listener)
          Removes the specified NodeSet listener so that it no longer receives NodeSet events from this component.
 

Method Detail

addNodeSetListener

void addNodeSetListener(NodeSetListener listener)
Adds the specified NodeSet listener to receive NodeSet events from this component. If listener l is null, no exception is thrown and no action is performed.

Parameters:
listener - Contains the NodeSetListener for NodeSetEvent data.

removeNodeSetListener

void removeNodeSetListener(NodeSetListener listener)
Removes the specified NodeSet listener so that it no longer receives NodeSet events from this component. This method performs no function, nor does it throw an exception, if the listener specified by the argument was not previously added to this component. If listener l is null, no exception is thrown and no action is performed.

Parameters:
listener - Contains the NodeSetListener for NodeSetEvent data.

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.