Uses of Interface
com.sun.sgs.protocol.RequestCompletionHandler

Packages that use RequestCompletionHandler
com.sun.sgs.impl.protocol.simple Provides an implementation of the protocol layer APIs using the SimpleSgsProtocol
com.sun.sgs.impl.service.session Provides an implementation of ClientSessionService
com.sun.sgs.impl.util Provides miscellaneous utility classes and methods. 
com.sun.sgs.protocol Provides interfaces for the protocol layer. 
 

Uses of RequestCompletionHandler in com.sun.sgs.impl.protocol.simple
 

Methods in com.sun.sgs.impl.protocol.simple with parameters of type RequestCompletionHandler
 void SimpleSgsRelocationProtocolImpl.relocate(Set<ProtocolDescriptor> descriptors, ByteBuffer relocationKey, RequestCompletionHandler<Void> completionHandler)
          Notifies the associated client to relocate its session to the node specified by the descriptors using the given relocationKey.
 void SimpleSgsRelocationProtocolImpl.suspend(RequestCompletionHandler<Void> completionHandler)
          Notifies the associated client to suspend sending messages to the server until resume is invoked.
 

Uses of RequestCompletionHandler in com.sun.sgs.impl.service.session
 

Methods in com.sun.sgs.impl.service.session with parameters of type RequestCompletionHandler
 void ClientSessionHandler.channelMessage(BigInteger channelId, ByteBuffer message, RequestCompletionHandler<Void> completionHandler)
          Processes a channel message sent by the associated client on the channel with the specified channelId, and invokes the completed method on the given completionHandler when this handler has completed processing the channel message.
 void ClientSessionHandler.disconnect(RequestCompletionHandler<Void> completionHandler)
          Notifies this handler that a non-graceful client disconnection has occurred, and invokes the completed method on the given completionHandler when this handler has completed processing the disconnection.
 void ClientSessionHandler.logoutRequest(RequestCompletionHandler<Void> completionHandler)
          Processes a logout request from the associated client, and invokes the completed method on the given completionHandler when this handler has completed processing the logout request.
 void ClientSessionHandler.sessionMessage(ByteBuffer message, RequestCompletionHandler<Void> completionHandler)
          Processes a message sent by the associated client, and invokes the completed method on the given completionHandler when this handler has completed processing the message.
 

Constructors in com.sun.sgs.impl.service.session with parameters of type RequestCompletionHandler
ClientSessionHandler.SetupCompletionFuture(SessionProtocolHandler protocolHandler, RequestCompletionHandler<SessionProtocolHandler> completionHandler)
          Constructs an instance with the specified protocolHandler and completionHandler.
ClientSessionHandler(ClientSessionServiceImpl sessionService, DataService dataService, SessionProtocol sessionProtocol, Identity identity, RequestCompletionHandler<SessionProtocolHandler> completionHandler)
          Constructs an handler for a client session that is logging in.
ClientSessionHandler(ClientSessionServiceImpl sessionService, DataService dataService, SessionProtocol sessionProtocol, Identity identity, RequestCompletionHandler<SessionProtocolHandler> completionHandler, BigInteger sessionRefId)
          Constructs an handler for a client session.
 

Uses of RequestCompletionHandler in com.sun.sgs.impl.util
 

Constructors in com.sun.sgs.impl.util with parameters of type RequestCompletionHandler
AbstractCompletionFuture(RequestCompletionHandler<T> completionHandler)
          Constructs an instance with the specified completionHandler.
 

Uses of RequestCompletionHandler in com.sun.sgs.protocol
 

Methods in com.sun.sgs.protocol with parameters of type RequestCompletionHandler
 void SessionProtocolHandler.channelMessage(BigInteger channelId, ByteBuffer message, RequestCompletionHandler<Void> completionHandler)
          Processes a channel message sent by the associated client on the channel with the specified channelId, and invokes the completed method on the given completionHandler when this handler has completed processing the channel message.
 void SessionProtocolHandler.disconnect(RequestCompletionHandler<Void> completionHandler)
          Notifies this handler that a non-graceful client disconnection has occurred, and invokes the completed method on the given completionHandler when this handler has completed processing the disconnection.
 void SessionProtocolHandler.logoutRequest(RequestCompletionHandler<Void> completionHandler)
          Processes a logout request from the associated client, and invokes the completed method on the given completionHandler when this handler has completed processing the logout request.
 void ProtocolListener.newLogin(Identity identity, SessionProtocol protocol, RequestCompletionHandler<SessionProtocolHandler> completionHandler)
          Handles a new login request for the specified identity and corresponding protocol, and when this listener has completed processing the request, invokes the completed method on the given completionHandler with a Future containing the result of the login request.
 void SessionRelocationProtocol.relocate(Set<ProtocolDescriptor> descriptors, ByteBuffer relocationKey, RequestCompletionHandler<Void> completionHandler)
          Notifies the associated client to relocate its session to the node specified by the descriptors using the given relocationKey.
 void ProtocolListener.relocatedSession(BigInteger relocationKey, SessionProtocol protocol, RequestCompletionHandler<SessionProtocolHandler> completionHandler)
          Re-establishes an existing client session corresponding to the specified relocationKey, and when this listener has completed processing this request, invokes the completed method on the given completionHandler with a Future containing the result of this request.
 void SessionProtocolHandler.sessionMessage(ByteBuffer message, RequestCompletionHandler<Void> completionHandler)
          Processes a message sent by the associated client, and invokes the completed method on the given completionHandler when this handler has completed processing the message.
 void SessionRelocationProtocol.suspend(RequestCompletionHandler<Void> completionHandler)
          Notifies the associated client to suspend sending messages to the server until resume is invoked.
 


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