|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ClientSession | |
|---|---|
| com.sun.sgs.app | Provides the interface to the RedDwarf Server used by application developers. |
| com.sun.sgs.impl.service.channel | Provides an implementation of ChannelManager. |
| com.sun.sgs.impl.service.session | Provides an implementation of ClientSessionService. |
| 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<? extends ClientSession> sessions)
Adds the specified client sessions to 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. |
| Uses of ClientSession in com.sun.sgs.impl.service.channel |
|---|
| Methods in com.sun.sgs.impl.service.channel that return types with arguments of type ClientSession | |
|---|---|
Iterator<ClientSession> |
ChannelWrapper.getSessions()
Returns an iterator for the client sessions joined to this channel. |
(package private) Iterator<ClientSession> |
ChannelImpl.getSessions()
Implements Channel.getSessions(). |
| Methods in com.sun.sgs.impl.service.channel with parameters of type ClientSession | |
|---|---|
(package private) static void |
ChannelImpl.handleChannelMessage(BigInteger channelRefId,
ClientSession sender,
ByteBuffer message)
Handles a channel message that the specified sender
is sending on the channel with the specified channelRefId. |
void |
ChannelServiceImpl.handleChannelMessage(BigInteger channelRefId,
ClientSession session,
ByteBuffer message)
Handles a channel message that the specified session
is sending on the channel with the specified channelRefId. |
Channel |
ChannelWrapper.join(ClientSession session)
Adds a client session to this channel. |
(package private) void |
ChannelImpl.join(ClientSession session)
Implements Channel.join(ClientSession). |
Channel |
ChannelWrapper.leave(ClientSession session)
Removes a client session from this channel. |
(package private) void |
ChannelImpl.leave(ClientSession session)
Implements Channel.leave(ClientSession). |
Channel |
ChannelWrapper.send(ClientSession sender,
ByteBuffer message)
Sends the message contained in the specified buffer to all client sessions joined to this channel. |
(package private) void |
ChannelImpl.send(ClientSession sender,
ByteBuffer message)
Implements Channel.send(ClientSession,ByteBuffer). |
| Method parameters in com.sun.sgs.impl.service.channel with type arguments of type ClientSession | |
|---|---|
Channel |
ChannelWrapper.join(Set<? extends ClientSession> sessions)
Adds the specified client sessions to this channel. |
(package private) void |
ChannelImpl.join(Set<? extends ClientSession> sessions)
Implements Channel.join(Set). |
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. |
(package private) void |
ChannelImpl.leave(Set<? extends ClientSession> sessions)
Implements Channel.leave(Set). |
| Uses of ClientSession in com.sun.sgs.impl.service.session |
|---|
| Classes in com.sun.sgs.impl.service.session that implement ClientSession | |
|---|---|
class |
ClientSessionImpl
Implements a client session. |
class |
ClientSessionWrapper
A wrapper for a ClientSessionImpl object that is passed to the
application in the AppListener.loggedIn method when a client
session logs in. |
| Methods in com.sun.sgs.impl.service.session that return ClientSession | |
|---|---|
ClientSession |
ClientSessionWrapper.send(ByteBuffer message)
Sends a message contained in the specified ByteBuffer to
this session's client with the delivery guarantee of Delivery.RELIABLE. |
ClientSession |
ClientSessionImpl.send(ByteBuffer message)
Sends a message contained in the specified ByteBuffer to
this session's client with the delivery guarantee of Delivery.RELIABLE. |
ClientSession |
ClientSessionWrapper.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. |
ClientSession |
ClientSessionImpl.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. |
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||