
#include <gzPipe.h>
Inheritance diagram for gzPipe:

Public Member Functions | |
| gzPipe (gzPipeControlInterface *pipeControl=NULL) | |
| virtual | ~gzPipe () |
| gzBool | connect (const gzString &name, gzBool create=FALSE, gzPipeConnection connection=GZ_PIPE_GLOBAL, gzULong timeOutRetry=50, const gzString &optionString=GZ_EMPTY_STRING) |
| Connect to a named pipe with name pipeName. | |
| gzBool | createPipe (const gzUShort port, gzULong timeOutRetry=50) |
| Direct create a pipe. | |
| gzBool | openPipe (const gzString &address, gzUShort port, gzULong timeOutRetry=50) |
| Direct open a pipe. | |
| gzBool | isConnected () |
| Returns status if a pipe is connected. | |
| gzVoid | disconnect (gzBool waitForRemoteConnection=TRUE) |
| Force disconnection of pipe. | |
| gzULong | writePipe (gzUByte *adress, gzULong len) |
| Write len bytes at adress. | |
| gzULong | readPipe (gzUByte *adress, gzULong maxlen, gzBool blocking=TRUE) |
| Read max maxlen len bytes to adress. | |
| gzULong | pendingBytes () |
| Tell you how many bytes there are pending in the pipe to be read. | |
| virtual gzVoid | write_imp (gzUByte data) |
| virtual gzUByte | read_imp () |
| virtual gzVoid | write_imp (gzUByte *data, gzULong count) |
| virtual gzULong | read_imp (gzUByte *data, gzULong maxcount) |
| virtual gzULong | length_imp () |
| GZ_PROPERTY_GET_EXPORT (gzString, PipeName, 1) | |
| GZ_PROPERTY_GET_EXPORT (gzString, PipeID, 1) | |
| GZ_PROPERTY_GET_EXPORT (gzString, RemotePipeID, 1) | |
| GZ_PROPERTY_GET_EXPORT (gzUShort, PipePort, 1) | |
| GZ_PROPERTY_GET_EXPORT (gzBool, DirectConnect, 1) | |
A pipe can either local or global...
Any number of instances can be created...
blah...
Definition at line 154 of file gzPipe.h.
|
|
|
|
|
|
|
||||||||||||||||||||||||
|
Connect to a named pipe with name pipeName. Set createPipe to TRUE to actually create the pipe. |
|
||||||||||||
|
Direct create a pipe.
|
|
|
Force disconnection of pipe.
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
Returns status if a pipe is connected. A pipe can be connected/disconnected multiple times. |
|
|
Reimplemented from gzSerializeAdapter. |
|
||||||||||||||||
|
Direct open a pipe.
|
|
|
Tell you how many bytes there are pending in the pipe to be read.
|
|
||||||||||||
|
Reimplemented from gzSerializeAdapter. |
|
|
Implements gzSerializeAdapter. |
|
||||||||||||||||
|
Read max maxlen len bytes to adress. Default to blocking mode TRUE. Returns number of read bytes. |
|
||||||||||||
|
Reimplemented from gzSerializeAdapter. |
|
|
Implements gzSerializeAdapter. |
|
||||||||||||
|
Write len bytes at adress.
|