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

Packages that use ClientSession
com.sun.sgs.app Provides the interface to the Project Darkstar Server used by application developers. 
 

Uses of ClientSession in com.sun.sgs.app
 

Methods in com.sun.sgs.app that return ClientSession
 ClientSession ClientSession.send(ByteBuffer message)
          Sends a message contained in the specified ByteBuffer to this session's client with the delivery guarantee of Delivery.RELIABLE.
 ClientSession ClientSession.send(ByteBuffer message, Delivery delivery)
          Sends a message contained in the specified ByteBuffer to this session's client in a manner that satisfies the specified delivery guarantee.
 

Methods in com.sun.sgs.app that return types with arguments of type ClientSession
 Iterator<ClientSession> Channel.getSessions()
          Returns an iterator for the client sessions joined to this channel.
 

Methods in com.sun.sgs.app with parameters of type ClientSession
 Channel Channel.join(ClientSession session)
          Adds a client session to this channel.
 Channel Channel.leave(ClientSession session)
          Removes a client session from this channel.
 ClientSessionListener AppListener.loggedIn(ClientSession session)
          Notifies this listener that the specified client session has logged in, and returns a ClientSessionListener for that session.
 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.
 Channel Channel.send(ClientSession sender, ByteBuffer message)
          Sends the message contained in the specified buffer to all client sessions joined to this channel.
 

Method parameters in com.sun.sgs.app with type arguments of type ClientSession
 Channel Channel.join(Set<ClientSession> sessions)
          Adds the specified client sessions to this channel.
 Channel Channel.leave(Set<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.
 


Project Darkstar, Version 0.9.9.6
2009-05-08 15:39:40

Copyright © 2007-2009 Sun Microsystems, Inc. All rights reserved