uka.gm
Class GM.VPort

java.lang.Object
  extended byuka.gm.GM.VPort
Enclosing class:
GM

public static final class GM.VPort
extends java.lang.Object


Field Summary
(package private)  GM.HPort hport
           
(package private)  int noreceive
           
(package private)  int nosend
           
(package private)  int vportNr
           
 
Constructor Summary
(package private) GM.VPort(int vportNr)
           
 
Method Summary
 void close()
           
private  void doSignaling(int signal)
           
 java.lang.String getHostName()
           
private  int getLength(long signalAndLength)
           
 int getMaxThreads()
           
 int getNodeID()
           
 int getNodeID(GM.UID uid)
           
 int getNodeID(java.lang.String name)
           
private  int getSignal(long signalAndLength)
           
 GM.UID getUID(int id)
           
 int getVPortNr()
           
 int internalGetHPortNr()
           
 int receive(byte[] buffer, int offset, int cnt)
           
 void send(int toNode, int toVPortNr, byte[] buffer, int offset, int cnt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vportNr

final int vportNr

hport

GM.HPort hport

noreceive

int noreceive

nosend

int nosend
Constructor Detail

GM.VPort

GM.VPort(int vportNr)
   throws java.io.IOException
Method Detail

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)