XConnection interface
and is uses by the PipeConnector and the PipeAcceptor.
This class is not part of the provided api.
The native implementation is in jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c
com.sun.star.lib.connections.pipe.pipeAcceptor , com.sun.star.lib.connections.pipe.pipeConnector , com.sun.star.connection.XConnection
| Modifier and Type | Field and Description |
|---|---|
| protected String | |
| protected ArrayList | |
| protected boolean | |
| protected long | |
| public static final boolean | DEBUG
When set to true, enables various debugging output. |
| Access | Constructor and Description |
|---|---|
| public | PipeConnection(String
the description of the connection. description)Constructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| private native void | |
| private native int | |
| public void | |
| private native void | |
| public String | |
| private void | |
| private void | |
| private void | |
| public int | Returns: the number of bytes read.the outparameter, where the bytes have to be placed. bytes, int the number of bytes to read. nBytesToRead)Read the required number of bytes. |
| private native int | |
| public void | |
| public void | |
| private native void |
| _aDescription | back to summary |
|---|---|
| protected String _aDescription | |
| _aListeners | back to summary |
|---|---|
| protected ArrayList<com. | |
| _bFirstRead | back to summary |
|---|---|
| protected boolean _bFirstRead | |
| _nPipeHandle | back to summary |
|---|---|
| protected long _nPipeHandle | |
| DEBUG | back to summary |
|---|---|
| public static final boolean DEBUG When set to true, enables various debugging output. | |
| PipeConnection | back to summary |
|---|---|
| public PipeConnection(String description) throws IOException Constructs a new
| |
| addStreamListener | back to summary |
|---|---|
| public void addStreamListener(com. | |
| close | back to summary |
|---|---|
| public void close() throws com.sun.star.io.IOException, com.sun.star.uno.RuntimeException Closes the connection. | |
| closeJNI | back to summary |
|---|---|
| private native void closeJNI() throws com.sun.star.io.IOException, com.sun.star.uno.RuntimeException | |
| createJNI | back to summary |
|---|---|
| private native int createJNI(String name) throws com.sun.star.io.IOException, com.sun.star.uno.RuntimeException | |
| flush | back to summary |
|---|---|
| public void flush() throws com.sun.star.io.IOException, com.sun.star.uno.RuntimeException Flushes the buffer. | |
| flushJNI | back to summary |
|---|---|
| private native void flushJNI() throws com.sun.star.io.IOException, com.sun.star.uno.RuntimeException | |
| getDescription | back to summary |
|---|---|
| public String getDescription() throws com.sun.star.uno.RuntimeException Gives a description of the connection.
| |
| notifyListeners_close | back to summary |
|---|---|
| private void notifyListeners_close() | |
| notifyListeners_error | back to summary |
|---|---|
| private void notifyListeners_error(com. | |
| notifyListeners_open | back to summary |
|---|---|
| private void notifyListeners_open() | |
| read | back to summary |
|---|---|
| public int read(byte[][] bytes, int nBytesToRead) throws com.sun.star.io.IOException, com.sun.star.uno.RuntimeException Read the required number of bytes.
| |
| readJNI | back to summary |
|---|---|
| private native int readJNI(byte[][] bytes, int nBytesToRead) throws com.sun.star.io.IOException, com.sun.star.uno.RuntimeException | |
| removeStreamListener | back to summary |
|---|---|
| public void removeStreamListener(com. | |
| write | back to summary |
|---|---|
| public void write(byte[] aData) throws com.sun.star.io.IOException, com.sun.star.uno.RuntimeException Write bytes.
| |
| writeJNI | back to summary |
|---|---|
| private native void writeJNI(byte[] aData) throws com.sun.star.io.IOException, com.sun.star.uno.RuntimeException | |