Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members  

interchange::Player Class Reference

A Player (in the theatrical sense) is a character taking part in a play. More...

List of all members.

Public Methods

virtual void receiveWhisper (Whisper w)=0
 This is called to have the Player receive an incoming Whisper. More...

virtual PlayerAddress getAddress ()=0
 This is the identifier by which the Player is known in the system if it must be located. More...


Detailed Description

A Player (in the theatrical sense) is a character taking part in a play.

Player is an end-point for communication. Each player should be given an address upon construction.


Last updated:

Date:
2002/07/20 15:45:57

Author:
Warwick Molloy
Version:
Revision:
1.2

Definition at line 55 of file Player.


Member Function Documentation

virtual PlayerAddress interchange::Player::getAddress [pure virtual]
 

This is the identifier by which the Player is known in the system if it must be located.

This allows for the possibility of remote Players running on other machines.

Returns:
the PlayerAddress that can be used to locate this player.

virtual void interchange::Player::receiveWhisper Whisper w [pure virtual]
 

This is called to have the Player receive an incoming Whisper.

Must be implemented by subclass.

Parameters:
w   the incoming request Whisper object.


The documentation for this class was generated from the following file:
Generated at Tue Aug 13 14:19:39 2002 for stdnet2 by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001