Manager¶
-
public class
Manager¶ The class representing Carrier session manager.
Methods¶
getInstance¶
getInstance¶
-
public static Manager
getInstance(Carrier carrier, ManagerHandler handler)¶ Get a carrier session manager instance.
- Parameters
carrier – Carrier node instance
handler – The interface handler for carrier session manager to comply with
- Throws
- Returns
A carrier session manager
getInstance¶
newSession¶
-
public Session
newSession(String to)¶ Create a new session to a friend. The session object represent a conversation handle to a friend.
- Parameters
to – The target id(userid or userid@nodeid).
- Throws
IllegalArgumentException – IOEXException
- Returns
The new Session object