fi.hut.tml.xsmiles.comm.implementation.sip
Class SipCommSession

java.lang.Object
  extended byfi.hut.tml.xsmiles.comm.implementation.general.events.CommEventSenderBase
      extended byfi.hut.tml.xsmiles.comm.implementation.sip.SipCommSession
All Implemented Interfaces:
CommEventSender, CommSession, fi.hut.tml.sip.stack.event.SipStackListener

public class SipCommSession
extends CommEventSenderBase
implements CommSession, fi.hut.tml.sip.stack.event.SipStackListener

Author:
ssundell

Constructor Summary
SipCommSession()
           
 
Method Summary
 void addPending(java.lang.String _target, Session _session)
           
 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
 fi.hut.tml.sip.stack.SipController getController()
           
 java.lang.Object getFeature(java.lang.Class feature)
          A generic method to retrieve extension features from the implementation.
 User getOwner()
           
 void init()
           
 void processStackEvent(fi.hut.tml.sip.stack.event.SipStackEvent evt)
           
 void removePending(java.lang.String _target)
           
 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

SipCommSession

public SipCommSession()
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

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 -

getOwner

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

getController

public fi.hut.tml.sip.stack.SipController getController()

processStackEvent

public void processStackEvent(fi.hut.tml.sip.stack.event.SipStackEvent evt)
Specified by:
processStackEvent in interface fi.hut.tml.sip.stack.event.SipStackListener

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

getAddressBook

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

Specified by:
getAddressBook 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.

addPending

public void addPending(java.lang.String _target,
                       Session _session)

removePending

public void removePending(java.lang.String _target)

setMLFCListener

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

Specified by:
setMLFCListener in interface CommSession


X-Smiles 1.2