1
// **********************************************************************
3
// Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved.
5
// This copy of Ice is licensed to you under the terms described in the
6
// ICE_LICENSE file included in this distribution.
8
// **********************************************************************
12
public final class ThreadPoolCurrent
14
ThreadPoolCurrent(Instance instance, ThreadPool threadPool)
16
operation = SocketOperation.None;
17
stream = new BasicStream(instance);
19
_threadPool = threadPool;
25
public BasicStream stream; // A per-thread stream to be used by event handlers for optimization.
30
_threadPool.ioCompleted(this);
33
final ThreadPool _threadPool;
34
EventHandler _handler;