org.mpisws.p2p.transport.util
Class SocketRequestHandleImpl<Identifier>
java.lang.Object
org.mpisws.p2p.transport.util.SocketRequestHandleImpl<Identifier>
- All Implemented Interfaces:
- SocketRequestHandle<Identifier>, Cancellable
public class SocketRequestHandleImpl<Identifier>
- extends java.lang.Object
- implements SocketRequestHandle<Identifier>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocketRequestHandleImpl
public SocketRequestHandleImpl(Identifier i,
java.util.Map<java.lang.String,java.lang.Integer> options)
getIdentifier
public Identifier getIdentifier()
- Specified by:
getIdentifier
in interface SocketRequestHandle<Identifier>
getOptions
public java.util.Map<java.lang.String,java.lang.Integer> getOptions()
- Specified by:
getOptions
in interface SocketRequestHandle<Identifier>
cancel
public boolean cancel()
- Specified by:
cancel
in interface Cancellable
- Returns:
- true if it was cancelled, false if it was already complete, or cancelled.
setSubCancellable
public void setSubCancellable(Cancellable sub)
getSubCancellable
public Cancellable getSubCancellable()
Copyright © 2001-2005 - Rice Pastry.