fi.hut.tml.xsmiles.comm.implementation.sip
Class SipUser
java.lang.Object
fi.hut.tml.xsmiles.comm.implementation.general.events.CommEventSenderBase
fi.hut.tml.xsmiles.comm.implementation.general.ContactBase
fi.hut.tml.xsmiles.comm.implementation.sip.SipUser
- All Implemented Interfaces:
- CommEventSender, Contact, Presentity, fi.hut.tml.sip.stack.events.SipEventsListener, User
- public class SipUser
- extends ContactBase
- implements User, Presentity, fi.hut.tml.sip.stack.events.SipEventsListener
- Author:
- ssundell
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
|
Constructor Summary |
SipUser()
|
SipUser(java.lang.String name,
java.lang.String address,
java.lang.String image)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SipUser
public SipUser()
SipUser
public SipUser(java.lang.String name,
java.lang.String address,
java.lang.String image)
connect
public Session connect()
- Specified by:
connect in interface Contact- Specified by:
connect in class ContactBase
subscribe
public void subscribe(PresenceListener _listener)
- Specified by:
subscribe in interface Presentity
remove
public void remove()
- Specified by:
remove in interface Presentity
publish
public void publish(org.w3c.dom.Node _status)
- Specified by:
publish in interface Presentity
statusChange
public void statusChange()
- This method is called when the presence information for one or another subscription changes.
It copies the nodes from a status element into the comm namespace and under "presence" element.
After that it calls the presence listeners.
- Specified by:
statusChange in interface fi.hut.tml.sip.stack.events.SipEventsListener
authorize
public boolean authorize()
- Specified by:
authorize in interface fi.hut.tml.sip.stack.events.SipEventsListener
incomingEvent
public void incomingEvent(int type,
java.lang.String description)
- Specified by:
incomingEvent in interface fi.hut.tml.sip.stack.events.SipEventsListener
getPresentity
public Presentity getPresentity()
- Description copied from interface:
User
- create presentity object
- Specified by:
getPresentity in interface User
X-Smiles 1.2