Lines Matching refs:handle
87 * The handle for a Poller Object...is used in the JNI C code
90 private int handle;
99 this.handle = nativeCreatePoller(-1);
110 this.handle = nativeCreatePoller(maxFd);
119 nativeDestroyPoller(handle);
132 nativeDestroyPoller(handle);
133 this.handle = nativeCreatePoller(maxFd);
142 nativeDestroyPoller(handle);
143 this.handle = nativeCreatePoller(-1);
156 return nativeAddFd(handle,findfd(fdObj), event);
167 return (nativeRemoveFd(handle,findfd(fdObj)) == 1);
176 return (nativeIsMember(handle,findfd(fdObj)) == 1);
215 int ret = nativeWait(handle, maxRet, fds, revents, timeout);
248 return nativeWait(handle,0,null,null,timeout);
252 return nativeWait(handle, fds.length, fds, revents, timeout);
315 private native void nativeDestroyPoller(int handle) throws Exception;
316 private native int nativeAddFd(int handle, int fd, short events)
318 private native int nativeRemoveFd(int handle, int fd) throws Exception;
319 private native int nativeRemoveIndex(int handle, int index)
321 private native int nativeIsMember(int handle, int fd) throws Exception;
322 private native int nativeWait(int handle, int maxRet, int[] fds,