|
|||||
I/O Protocol | |||||
Functions | Platforms |
I/O protocol objects can be used in conjunction with OmniMark external source and external output objects to provide a multi-layered data source or data sink, respectively. The external source or output object provides the lower level I/O from or to the underlying transport layer, respectively. An I/O protocol object filters the data passing through it on its way to the external output or external source object.
I/O protocol objects can be designed to packetize or transform data. A packetization protocol object encodes a protocol for recognizing data from end-of-data for a particular transaction, for example, by using "Control-Z" or some other pattern to signify the end of data.
A transforming protocol is one that applies certain transformation functions to the data, such as encryption, compression, or dropping (noise removal).
Currently, the I/O Protocol library supports three standard packetization protocols: single packet, multi packet, and end-delimited protocols.
The OmniMark TCP/IP library (omtcp) depends on the OmniMark I/O Protocol library (omioprot). This means that omioprot must be included before omtcp as follows:
declare function-library "omioprot" include "omioprot.xin" declare function-library "omtcp" include "omtcp.xin"
Functions IOProtocolEndDelimited IOProtocolIsVersionCompatible IOProtocolLibraryVersion IOProtocolMultiPacket IOProtocolSinglePacket |
Platforms HP/UX Solaris Win 95 Win NT |
---- |