fi.hut.tml.xsmiles.comm.implementation.jxta
Class JxtaCommSession

java.lang.Object
  extended byfi.hut.tml.xsmiles.comm.implementation.general.events.CommEventSenderBase
      extended byfi.hut.tml.xsmiles.comm.implementation.jxta.JxtaCommSession
All Implemented Interfaces:
CommEventSender, CommSession

public class JxtaCommSession
extends CommEventSenderBase
implements CommSession

Author:
qlin TODO Start Jxta Window - Preferences - Java - Code Generation - Code and Comments

Constructor Summary
JxtaCommSession()
           
 
Method Summary
 Group createGroup()
          create group object
 Messaging createMessaging(Session session)
           
 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()
           
 Presentity getPresentity(User _user)
           
 void init()
           
 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 class fi.hut.tml.xsmiles.comm.implementation.general.events.CommEventSenderBase
addEventListener, dispatchEvent, removeEventListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fi.hut.tml.xsmiles.comm.events.CommEventSender
addEventListener, dispatchEvent, removeEventListener
 

Constructor Detail

JxtaCommSession

public JxtaCommSession()
Method Detail

init

public void init()

signIn

public void signIn()
Specified by:
signIn in interface CommSession

signOut

public void signOut()
Specified by:
signOut in interface CommSession

getOwner

public User getOwner()
Specified by:
getOwner in interface CommSession

setSessionListener

public void setSessionListener(SessionListener listener)
Description copied from interface: CommSession
Sets the session listener to make the system aware of the incoming session requests.

Specified by:
setSessionListener in interface CommSession
Parameters:
listener -

createUser

public User createUser()
Description copied from interface: CommSession
create user object

Specified by:
createUser in interface CommSession

createGroup

public Group createGroup()
Description copied from interface: CommSession
create group object

Specified by:
createGroup in interface CommSession

createSession

public Session createSession()
Description copied from interface: CommSession
create session object

Specified by:
createSession in interface CommSession

createSession

public Session createSession(java.lang.String address)
Description copied from interface: CommSession
create session for given address

Specified by:
createSession in interface CommSession

createMessaging

public Messaging createMessaging(Session session)

getAddressBook

public AddressBook getAddressBook()
Description copied from interface: CommSession
create addressbook object

Specified by:
getAddressBook in interface CommSession

getPresentity

public Presentity getPresentity(User _user)

setMLFCListener

public void setMLFCListener(MLFCListener listener)
Description copied from interface: CommSession
add the MLFC listener object

Specified by:
setMLFCListener in interface CommSession

getFeature

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

Specified by:
getFeature in interface CommSession
Parameters:
feature - The feature to retrieve
Returns:
An object implementing that feature, or null if not available.


X-Smiles 1.2