org.atmosphere.wasync
Interface Future

All Superinterfaces:
Future<Socket>

public interface Future
extends Future<Socket>

An internal Future implementation used by Transport to notify Socket when the transport has connected and available.

Author:
Jeanfrancois Arcand

Method Summary
 Future done()
          Mark the future done.
 Future fire(Object data)
          Send data to the remote Server.
 
Methods inherited from interface java.util.concurrent.Future
cancel, get, get, isCancelled, isDone
 

Method Detail

fire

Future fire(Object data)
            throws IOException
Send data to the remote Server.

Parameters:
data -
Returns:
a Future
Throws:
IOException

done

Future done()
Mark the future done.



Copyright © 2012. All Rights Reserved.