uka.gm
Class GM.VPort
java.lang.Object
uka.gm.GM.VPort
- Enclosing class:
- GM
- public static final class GM.VPort
- extends java.lang.Object
|
Constructor Summary |
(package private) |
GM.VPort(int vportNr)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
vportNr
final int vportNr
hport
GM.HPort hport
noreceive
int noreceive
nosend
int nosend
GM.VPort
GM.VPort(int vportNr)
throws java.io.IOException
getVPortNr
public int getVPortNr()
internalGetHPortNr
public int internalGetHPortNr()
send
public void send(int toNode,
int toVPortNr,
byte[] buffer,
int offset,
int cnt)
throws java.io.IOException
- Throws:
java.io.IOException
receive
public int receive(byte[] buffer,
int offset,
int cnt)
throws java.io.IOException
- Throws:
java.io.IOException
getMaxThreads
public int getMaxThreads()
getNodeID
public int getNodeID()
getUID
public GM.UID getUID(int id)
getNodeID
public int getNodeID(GM.UID uid)
getHostName
public java.lang.String getHostName()
getNodeID
public int getNodeID(java.lang.String name)
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
getLength
private int getLength(long signalAndLength)
getSignal
private int getSignal(long signalAndLength)
doSignaling
private void doSignaling(int signal)