Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef _COMPLETION_UTIL_H_
00025 #define _COMPLETION_UTIL_H_
00026
00027 class completionUtil
00028 {
00029 public:
00030 static Event *create();
00031 static void destroy(Event * e);
00032 static void setThread(Event * e, EThread * t);
00033 static void setContinuation(Event * e, Continuation * c);
00034 static void *getHandle(Event * e);
00035 static void setHandle(Event * e, void *handle);
00036 static void setInfo(Event * e, int fd, IOBufferBlock * buf, int actual, int errno_);
00037 static void setInfo(Event * e, int fd, struct msghdr *msg, int actual, int errno_);
00038 static int getBytesTransferred(Event * e);
00039 static IOBufferBlock *getIOBufferBlock(Event * e);
00040 static Continuation *getContinuation(Event * e);
00041 static int getError(Event * e);
00042 static void releaseReferences(Event * e);
00043 };
00044
00045 #include "UnixCompletionUtil.h"
00046
00047 #endif