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

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

public class JxtaGroups
extends CommEventSenderBase
implements Groups

Author:
qlin TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

Constructor Summary
JxtaGroups()
           
 
Method Summary
 void addGroup(Group group)
          Create a new group.
 void deleteGroup(Group group)
          Remove a group.
 java.util.Hashtable getGroups()
          Get a list of available groups.
 void inviteUser(Group group, User user)
          Invite a user into a group.
 void joinGroup(Group group)
          Join a group.
 void leaveGroup(Group group)
          Leave a group.
static void main(java.lang.String[] args)
           
 
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

JxtaGroups

public JxtaGroups()
Method Detail

main

public static void main(java.lang.String[] args)

getGroups

public java.util.Hashtable getGroups()
Description copied from interface: Groups
Get a list of available groups.

Specified by:
getGroups in interface Groups

addGroup

public void addGroup(Group group)
Description copied from interface: Groups
Create a new group.

Specified by:
addGroup in interface Groups
Parameters:
group -

deleteGroup

public void deleteGroup(Group group)
Description copied from interface: Groups
Remove a group.

Specified by:
deleteGroup in interface Groups
Parameters:
group -

joinGroup

public void joinGroup(Group group)
Description copied from interface: Groups
Join a group.

Specified by:
joinGroup in interface Groups
Parameters:
group -

leaveGroup

public void leaveGroup(Group group)
Description copied from interface: Groups
Leave a group.

Specified by:
leaveGroup in interface Groups
Parameters:
group -

inviteUser

public void inviteUser(Group group,
                       User user)
Description copied from interface: Groups
Invite a user into a group.

Specified by:
inviteUser in interface Groups
Parameters:
group -
user -


X-Smiles 1.2