Rice Pastry API

org.mpisws.p2p.transport
Interface SocketRequestHandle<Identifier>

Type Parameters:
Identifier -
All Superinterfaces:
Cancellable
All Known Implementing Classes:
ReplaySocket, ReplaySocket, SocketManager, SocketRequestHandleImpl

public interface SocketRequestHandle<Identifier>
extends Cancellable

Can cancel the request to open the socket. Also, returned with the socket when it has been opened.

Author:
Jeff Hoye

Method Summary
 Identifier getIdentifier()
          The identifier that the caller requested to open to.
 java.util.Map<java.lang.String,java.lang.Object> getOptions()
          The options that the caller used.
 
Methods inherited from interface rice.p2p.commonapi.Cancellable
cancel
 

Method Detail

getIdentifier

Identifier getIdentifier()
The identifier that the caller requested to open to.

Returns:

getOptions

java.util.Map<java.lang.String,java.lang.Object> getOptions()
The options that the caller used.

Returns:

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection