xdev.niodev
Class NIORequest

java.lang.Object
  extended by mpjdev.Request
      extended by xdev.niodev.NIORequest
Direct Known Subclasses:
NIORecvRequest, NIOSendRequest

public abstract class NIORequest
extends Request


Constructor Summary
NIORequest()
           
 
Method Summary
 boolean cancel()
           
 void free()
           
 boolean isnull()
           
 Status itest()
          this method returns Status object if the communication is completed, and if its not completed, it returns zero.
abstract  Status iwait()
           
static Status iwaitany(NIORequest[] requests)
           
 
Methods inherited from class mpjdev.Request
addCompletionHandler, complete, iwaitany
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NIORequest

public NIORequest()
Method Detail

cancel

public boolean cancel()
Specified by:
cancel in class Request

iwaitany

public static Status iwaitany(NIORequest[] requests)

iwait

public abstract Status iwait()
Specified by:
iwait in class Request

itest

public Status itest()
this method returns Status object if the communication is completed, and if its not completed, it returns zero.

Specified by:
itest in class Request

free

public void free()
Specified by:
free in class Request

isnull

public boolean isnull()
Specified by:
isnull in class Request