
#include <gzDistTransport.h>
Inheritance diagram for gzDistTransportPipe:

Public Member Functions | |
| gzDistTransportPipe (const gzString &name, gzBool server=FALSE, gzPipeConnection connection=GZ_PIPE_GLOBAL) | |
| Constructor. | |
| virtual | ~gzDistTransportPipe () |
| Destructor. | |
| gzBool | open () |
| Open transport. | |
| gzVoid | close () |
| Close transport. | |
| gzBool | isOpen () const |
| Check if transport is open. | |
| gzBool | isConnected () |
| Check if transport is connected. | |
| gzBool | isServer () const |
| Check if this is a pipe server or a pipe client. | |
| gzBool | send (const gzUByte *buffer, gzULong length) |
| Send message. | |
| gzInt | receive (gzUByte *buffer, gzULong length, gzULong timeout=0) |
| Receive message. | |
A named pipe transport can be either local or global and a server or a client. A local named pipe stays within the local host, while a global named pipe is accessible on every host on a local network. A server transport creates a pipe, while a client connects to an existing pipe.
Definition at line 325 of file gzDistTransport.h.
|
||||||||||||||||
|
Constructor.
|