uka.psp
Class PSP.Port
java.lang.Object
uka.psp.PSP.Port
- Enclosing class:
- PSP
- public static class PSP.Port
- extends java.lang.Object
|
Constructor Summary |
(package private) |
PSP.Port(int portNr)
|
|
Method Summary |
void |
close()
|
int |
getPortNr()
|
boolean |
isClosed()
|
int |
receive(boolean[] buffer,
int offset,
int cnt)
|
int |
receive(byte[] buffer,
int offset,
int cnt)
|
int |
receive(char[] buffer,
int offset,
int cnt)
|
int |
receive(double[] buffer,
int offset,
int cnt)
|
int |
receive(float[] buffer,
int offset,
int cnt)
|
int |
receive(int[] buffer,
int offset,
int cnt)
|
int |
receive(long[] buffer,
int offset,
int cnt)
|
int |
receive(short[] buffer,
int offset,
int cnt)
|
void |
send(int toNode,
int toPort,
boolean[] buffer,
int offset,
int cnt)
|
void |
send(int toNode,
int toPort,
byte[] buffer,
int offset,
int cnt)
|
void |
send(int toNode,
int toPort,
char[] buffer,
int offset,
int cnt)
|
void |
send(int toNode,
int toPort,
double[] buffer,
int offset,
int cnt)
|
void |
send(int toNode,
int toPort,
float[] buffer,
int offset,
int cnt)
|
void |
send(int toNode,
int toPort,
int[] buffer,
int offset,
int cnt)
|
void |
send(int toNode,
int toPort,
long[] buffer,
int offset,
int cnt)
|
void |
send(int toNode,
int toPort,
short[] buffer,
int offset,
int cnt)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
portNr
int portNr
portHandle
long portHandle
PSP.Port
PSP.Port(int portNr)
throws java.io.IOException
getPortNr
public final int getPortNr()
send
public final void send(int toNode,
int toPort,
byte[] buffer,
int offset,
int cnt)
throws java.io.IOException
- Throws:
java.io.IOException
receive
public final int receive(byte[] buffer,
int offset,
int cnt)
throws java.io.IOException
- Throws:
java.io.IOException
send
public final void send(int toNode,
int toPort,
short[] buffer,
int offset,
int cnt)
throws java.io.IOException
- Throws:
java.io.IOException
receive
public final int receive(short[] buffer,
int offset,
int cnt)
throws java.io.IOException
- Throws:
java.io.IOException
send
public final void send(int toNode,
int toPort,
boolean[] buffer,
int offset,
int cnt)
throws java.io.IOException
- Throws:
java.io.IOException
receive
public final int receive(boolean[] buffer,
int offset,
int cnt)
throws java.io.IOException
- Throws:
java.io.IOException
send
public final void send(int toNode,
int toPort,
char[] buffer,
int offset,
int cnt)
throws java.io.IOException
- Throws:
java.io.IOException
receive
public final int receive(char[] buffer,
int offset,
int cnt)
throws java.io.IOException
- Throws:
java.io.IOException
send
public final void send(int toNode,
int toPort,
long[] buffer,
int offset,
int cnt)
throws java.io.IOException
- Throws:
java.io.IOException
receive
public final int receive(long[] buffer,
int offset,
int cnt)
throws java.io.IOException
- Throws:
java.io.IOException
send
public final void send(int toNode,
int toPort,
int[] buffer,
int offset,
int cnt)
throws java.io.IOException
- Throws:
java.io.IOException
receive
public final int receive(int[] buffer,
int offset,
int cnt)
throws java.io.IOException
- Throws:
java.io.IOException
send
public final void send(int toNode,
int toPort,
float[] buffer,
int offset,
int cnt)
throws java.io.IOException
- Throws:
java.io.IOException
receive
public final int receive(float[] buffer,
int offset,
int cnt)
throws java.io.IOException
- Throws:
java.io.IOException
send
public final void send(int toNode,
int toPort,
double[] buffer,
int offset,
int cnt)
throws java.io.IOException
- Throws:
java.io.IOException
receive
public final int receive(double[] buffer,
int offset,
int cnt)
throws java.io.IOException
- Throws:
java.io.IOException
close
public final void close()
throws java.io.IOException
- Throws:
java.io.IOException
isClosed
public boolean isClosed()