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. 
com.sun.sgs.impl.app.profile Provides manager implementations that support profiling. 
com.sun.sgs.impl.service.channel Provides an implementation of ChannelManager
 

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.
 

Uses of Channel in com.sun.sgs.impl.app.profile
 

Methods in com.sun.sgs.impl.app.profile that return Channel
 Channel ProfileChannelManager.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 ProfileChannelManager.getChannel(String name)
          Returns an existing channel with the specified name.
 

Uses of Channel in com.sun.sgs.impl.service.channel
 

Classes in com.sun.sgs.impl.service.channel that implement Channel
(package private)  class ChannelWrapper
          A wrapper for a ChannelImpl object that is returned to the application when a channel is created.
 

Methods in com.sun.sgs.impl.service.channel that return Channel
 Channel ChannelServiceImpl.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 ChannelServiceImpl.getChannel(String name)
          Returns an existing channel with the specified name.
(package private) static Channel ChannelImpl.getInstance(String name)
          Returns a channel with the given name.
 Channel ChannelWrapper.join(ClientSession session)
          Adds a client session to this channel.
 Channel ChannelWrapper.join(Set<? extends ClientSession> sessions)
          Adds the specified client sessions to this channel.
 Channel ChannelWrapper.leave(ClientSession session)
          Removes a client session from this channel.
 Channel ChannelWrapper.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 ChannelWrapper.leaveAll()
          Removes all client sessions from this channel.
(package private) static Channel ChannelImpl.newInstance(String name, ChannelListener listener, Delivery delivery, int writeBufferCapacity)
          Constructs a new Channel with the given name, listener, delivery guarantee and write-buffer capacity.
 Channel ChannelWrapper.send(ByteBuffer message)
          Sends the message contained in the specified buffer to all client sessions joined to this channel.
 Channel ChannelWrapper.send(ClientSession sender, ByteBuffer message)
          Sends the message contained in the specified buffer to all client sessions joined to this 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