Uses of Interface
com.sun.sgs.app.Channel

Packages that use Channel
com.sun.sgs.app Provides the interface to the RedDwarf Server used by application developers. 
 

Uses of Channel in com.sun.sgs.app
 

Methods in com.sun.sgs.app that return Channel
 Channel ChannelManager.createChannel(String name, ChannelListener listener, Delivery delivery)
          Creates a new channel with the specified listener and delivery guarantee, binds it to the specified name, and returns it.
 Channel ChannelManager.getChannel(String name)
          Returns an existing channel with the specified name.
 Channel Channel.join(ClientSession session)
          Adds a client session to this channel.
 Channel Channel.join(Set<? extends ClientSession> sessions)
          Adds the specified client sessions to this channel.
 Channel Channel.leave(ClientSession session)
          Removes a client session from this channel.
 Channel Channel.leave(Set<? extends ClientSession> sessions)
          Removes the specified client sessions from this channel, If a session in the specified set is not joined to this channel, then no action for that session is taken.
 Channel Channel.leaveAll()
          Removes all client sessions from this channel.
 Channel Channel.send(ByteBuffer message)
          Sends the message contained in the specified buffer to all client sessions joined to this channel.
 Channel Channel.send(ClientSession sender, ByteBuffer message)
          Sends the message contained in the specified buffer to all client sessions joined to this channel.
 

Methods in com.sun.sgs.app with parameters of type Channel
 void ChannelListener.receivedMessage(Channel channel, ClientSession sender, ByteBuffer message)
          Notifies this listener that the given message is being sent by the specified sender on the given channel.
 


RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved