|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The interface for all objects capable of joining sessions.
| Method Summary | |
Session |
getSession()Gets the Session that the session participant is joined to. |
SessionStrategy |
getSessionStrategy()Gets the SessionStrategy object for the session participant. |
void |
setSession(Session session)Provides the session participant with the session to which it is joined. |
| Method Detail |
public SessionStrategy getSessionStrategy()
SessionStrategy object for the session participant.
This object understands how to obtain the session from the SessionManager for this session participant.
SessionStrategy object.public void setSession(Session session)
getSession() method.
session - The Session for the participant to join.java.lang.IllegalArgumentException - if the session argument is null.public Session getSession()
Session that the session participant is joined to.
This can only be invoked after the setSession() method has been invoked.
java.lang.IllegalStateException - if invoked before setSession().
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||