|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.pipes.XMAPipe
| Constructor Summary | |
protected |
XMAPipe(java.lang.String pipeName)
|
| Method Summary | |
abstract void |
close()
Closes and flushes the connection to a client. |
abstract void |
destroyPipe()
Closes the Pipe itself, which the can then not be used further. |
static XMAPipe |
getInstance(java.lang.String pipeName)
Creates the pipe (as Object and on the OS). |
java.lang.String |
getPipeName()
|
abstract void |
open()
Waits for a client to connect and connects to it. |
abstract byte[] |
read()
Reads from pipe (client). |
abstract void |
write(byte[] out)
Writes out to pipe (client). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected XMAPipe(java.lang.String pipeName)
throws java.io.IOException
| Method Detail |
public static XMAPipe getInstance(java.lang.String pipeName)
throws java.io.IOException
pipeName -
java.io.IOException
public abstract void destroyPipe()
throws java.io.IOException
java.io.IOException
public abstract void open()
throws java.io.IOException
java.io.IOException
public abstract void close()
throws java.io.IOException
java.io.IOException
public abstract void write(byte[] out)
throws java.io.IOException
out - - the byte[] must not be longer than 4096.
java.io.IOException
public abstract byte[] read()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getPipeName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||