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

Packages that use RequestCompletionHandler
com.sun.sgs.protocol Provides interfaces for the protocol layer. 
 

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