diff options
author | Matthew Newhook <matthew@zeroc.com> | 2014-10-20 11:40:05 -0230 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2014-10-20 11:40:05 -0230 |
commit | b51469b41167fb86ae2059a15cf0475c53fdda7b (patch) | |
tree | fc85d6ca2efd89c67e1e4e7438f437c3e08313f4 /java/src/IceInternal/ThreadPoolCurrent.java | |
parent | Fixed (ICE-5695) - IceSSL: misleading exception (diff) | |
download | ice-b51469b41167fb86ae2059a15cf0475c53fdda7b.tar.bz2 ice-b51469b41167fb86ae2059a15cf0475c53fdda7b.tar.xz ice-b51469b41167fb86ae2059a15cf0475c53fdda7b.zip |
Down with ant. From the gradle to the grave.
Diffstat (limited to 'java/src/IceInternal/ThreadPoolCurrent.java')
-rw-r--r-- | java/src/IceInternal/ThreadPoolCurrent.java | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/java/src/IceInternal/ThreadPoolCurrent.java b/java/src/IceInternal/ThreadPoolCurrent.java deleted file mode 100644 index 06e739bfe85..00000000000 --- a/java/src/IceInternal/ThreadPoolCurrent.java +++ /dev/null @@ -1,51 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -package IceInternal; - -public final class ThreadPoolCurrent -{ - ThreadPoolCurrent(Instance instance, ThreadPool threadPool, ThreadPool.EventHandlerThread thread) - { - operation = SocketOperation.None; - stream = new BasicStream(instance, Protocol.currentProtocolEncoding); - - _threadPool = threadPool; - _thread = thread; - _ioCompleted = false; - _leader = false; - } - - public int operation; - public BasicStream stream; // A per-thread stream to be used by event handlers for optimization. - - public boolean - ioReady() - { - return (_handler._registered & operation) > 0; - } - - public void - ioCompleted() - { - _threadPool.ioCompleted(this); - } - - public void - dispatchFromThisThread(DispatchWorkItem workItem) - { - _threadPool.dispatchFromThisThread(workItem); - } - - final ThreadPool _threadPool; - final ThreadPool.EventHandlerThread _thread; - EventHandler _handler; - boolean _ioCompleted; - boolean _leader; -} |