All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.habanero.SessionParticipant

java.lang.Object
   |
   +----ncsa.habanero.SessionParticipant

public abstract class SessionParticipant
extends Object
implements Marshallable
The SessionParticipant object identifies a particular client within the collaboration. Modified the 08/15/97 by Annie Chabert does not implements any more the InfoPart


Constructor Index

 o SessionParticipant()

Method Index

 o connectFromDump(MarshallInput)
 o dumpConnectionInfo(MarshallOutput)
Dump info about how to connect to my SessionManager to out.
 o equals(Object)
SessionParticipants are equal if their unique ids are
 o getName()
 o hashCode()
 o hostName()
 o isValidAddress()
 o key()
 o lostConnection(MarshallOutput, Session)
 o makeLeavingAction(Session)
 o port()
 o portNum()
 o sessionManagerConnection()
Given a SessionManager's connection info, return an IO Object connected to it.
 o setName(String)
 o unique()
return a unique identifier for this participant.

Constructors

 o SessionParticipant
 public SessionParticipant()

Methods

 o unique
 public abstract String unique()
return a unique identifier for this participant.

 o hostName
 public abstract String hostName()
 o port
 public abstract String port()
 o portNum
 public abstract int portNum()
 o key
 public abstract String key()
 o dumpConnectionInfo
 public abstract void dumpConnectionInfo(MarshallOutput out)
Dump info about how to connect to my SessionManager to out.

 o connectFromDump
 public abstract DeferredIO connectFromDump(MarshallInput in) throws IOException, UnknownHostException
 o sessionManagerConnection
 public abstract DeferredIO sessionManagerConnection()
Given a SessionManager's connection info, return an IO Object connected to it. This routine has nothing to do with this particular object, but it needs to be virtual to accomodate different kinds of connection algorithms. The assumption is that all SessionParticipants will be of the same subclass.

 o hashCode
 public int hashCode()
Overrides:
hashCode in class Object
 o equals
 public boolean equals(Object obj)
SessionParticipants are equal if their unique ids are

Overrides:
equals in class Object
 o isValidAddress
 public abstract boolean isValidAddress()
 o lostConnection
 public abstract void lostConnection(MarshallOutput connection,
                                     Session s)
 o getName
 public String getName()
 o setName
 public void setName(String s)
 o makeLeavingAction
 public Action makeLeavingAction(Session s)

All Packages  Class Hierarchy  This Package  Previous  Next  Index