org.iids.aos.kernel.mux
Class LocalDescriptorTable
java.lang.Object
org.iids.aos.kernel.mux.LocalDescriptorTable
public class LocalDescriptorTable
- extends java.lang.Object
The integers returned by createListenEndpoint(), accept() and connect()
must all come from the same address space, to support the chosen
select() interface. This table synchronizes all allocations.
- Author:
- arno
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_DESC
public static final int MAX_DESC
- See Also:
- Constant Field Values
ld
public LocalDescriptor ld
LocalDescriptorTable
public LocalDescriptorTable()
- Creates a new instance of LocalDescriptorTable
allocate
public int allocate(boolean isConnection)
throws LimitExceededException
- Throws:
LimitExceededException
allocate
public void allocate(int desc,
boolean isConnection)
throws BadArgumentException
- Throws:
BadArgumentException
deallocate
public void deallocate(int desc)
isConnection
public boolean isConnection(int desc)
throws BadArgumentException
- lock before use
- Throws:
BadArgumentException
Copyright © 2003, 2004 IIDS Group. All Rights Reserved.