ca.mcgill.cs.postina
Interface PostinaClientListener

All Known Implementing Classes:
ScribeNetworkLayer

public interface PostinaClientListener

A PostinaClientListener is a listener listening to changes concerning clients. Currently it is only used to inform when a client has quit.

Version:
8-Jan-08
Author:
Dominik Zindel

Method Summary
 void clientLeft(PostinaID clientID)
          The method clientLeft is called when a client has left or is supposed to have left the network.
 

Method Detail

clientLeft

void clientLeft(PostinaID clientID)
The method clientLeft is called when a client has left or is supposed to have left the network. A client is declared dead when a certain number (specified in the properties) of messages is lost.

Parameters:
clientID - The unique identifier of the client that has quit the network.