fi.hut.tml.xsmiles.comm
Interface CommSession

All Superinterfaces:
CommEventSender
All Known Implementing Classes:
JxtaCommSession, SipCommSession

public interface CommSession
extends CommEventSender

Author:
ssundell

Method Summary
 Group createGroup()
          create group object
 Session createSession()
          create session object
 Session createSession(java.lang.String address)
          create session for given address
 User createUser()
          create user object
 AddressBook getAddressBook()
          create addressbook object
 java.lang.Object getFeature(java.lang.Class feature)
          A generic method to retrieve extension features from the implementation.
 User getOwner()
           
 void setMLFCListener(MLFCListener listener)
          add the MLFC listener object
 void setSessionListener(SessionListener listener)
          Sets the session listener to make the system aware of the incoming session requests.
 void signIn()
           
 void signOut()
           
 
Methods inherited from interface fi.hut.tml.xsmiles.comm.events.CommEventSender
addEventListener, dispatchEvent, removeEventListener
 

Method Detail

signIn

public void signIn()

signOut

public void signOut()

getOwner

public User getOwner()

createUser

public User createUser()
create user object


createGroup

public Group createGroup()
create group object


createSession

public Session createSession()
create session object


createSession

public Session createSession(java.lang.String address)
create session for given address


getAddressBook

public AddressBook getAddressBook()
create addressbook object


getFeature

public java.lang.Object getFeature(java.lang.Class feature)
A generic method to retrieve extension features from the implementation.

Parameters:
feature - The feature to retrieve
Returns:
An object implementing that feature, or null if not available.

setMLFCListener

public void setMLFCListener(MLFCListener listener)
add the MLFC listener object


setSessionListener

public void setSessionListener(SessionListener listener)
Sets the session listener to make the system aware of the incoming session requests.

Parameters:
listener -


X-Smiles 1.2