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 message)
          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 message)
            throws IOException
Send data to the remote Server.

Parameters:
message - the message to fire
Returns:
a Future
Throws:
IOException

done

Future done()
Mark the future done.

Returns:
a Future


Copyright © 2013. All Rights Reserved.