|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractList | +--java.util.Vector | +--concast.merged.UNL
Thread that receives UNL and the key from the CSPd via the pipe. Also, stored the UNL. The only available method for user is getId(). UNL object can be access via user.getUNL() call
Field Summary | |
int |
UNL_PROTO_VERSION
|
Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
protected |
UNL(Merged merged)
|
Method Summary | |
NodeId |
getId(int i)
Returns the id of Ith up stream neighbor, the only call available to user. |
protected void |
getList(byte[] data)
Read list from the byte array |
protected void |
open(java.io.FileDescriptor fi,
java.io.FileDescriptor fo)
Open incoming and outgoing pipes |
protected void |
readFromPipe()
Read list from pipe |
void |
run()
pipe thread |
Methods inherited from class java.util.Vector |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
Field Detail |
public int UNL_PROTO_VERSION
Constructor Detail |
protected UNL(Merged merged)
Method Detail |
protected void getList(byte[] data) throws java.io.IOException
protected void open(java.io.FileDescriptor fi, java.io.FileDescriptor fo)
protected void readFromPipe() throws java.io.IOException
public NodeId getId(int i)
public void run()
run
in interface java.lang.Runnable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |