|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Session package and class include session specific information, such as the user list of a P2P group, file shares in that particular group and so on. The session can be opened for a single user or for a group (depending on the underlying P2P network architecture, of course).
| Method Summary | |
void |
accept()
Accept the incoming session |
void |
closeSession()
Close the session. |
Messaging |
createMessaging()
|
void |
decline()
Decline the incoming dession. |
Contact |
getTarget()
Get the target of the session - that is, the user or group that we're connected to. |
java.util.Vector |
getUsers()
Returns the user list for the current session. |
void |
openSession(Contact _contact)
Opens the session - in other words, tries to establish a contact to the network. |
| Methods inherited from interface fi.hut.tml.xsmiles.comm.events.CommEventSender |
addEventListener, dispatchEvent, removeEventListener |
| Method Detail |
public void openSession(Contact _contact)
public void closeSession()
public java.util.Vector getUsers()
public Contact getTarget()
public void accept()
public void decline()
public Messaging createMessaging()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||