Previous: net channels ifaces tichannel, Up: net channels ifaces [Index]
<<textual-output-channel>>
The following syntactic bindings are exported by the library
(vicare net channels)
.
Expose the methods for all the textual output channels.
Configure a channel to start sending a message. If this is not inactive: an assertion is raised.
Finish sending a message by flushing the underlying device and returning the total number of characters sent. If this is not in the course of sending a message: an assertion is raised.
After this function is applied to a channel: the channel itself is configured as inactive; so it is available to start sending or receiving a message.
Flush to the destination the data buffered in the underlying device. If this is not in the course of sending a message: an assertion is raised. If the maximum delivery time is exceeded: an exception is raised.
Abort the current operation and reset the channel to inactive. If this is not in the course of sending a message: an assertion is raised. If some data is in the output buffer of the underlying device: it is left untouched.
Send a portion of output message through the given channel. If this is not in the course of sending a message: an assertion is raised. The argument portion must be a string representing the message portion. This function does not flush the underlying device.
If the current message size exceeds the maximum configured size: an exception is raised. If the maximum delivery time is exceeded: an exception is raised.
Send a full message composed of the given portion arguments; return the total number of characters sent. If this is not inactive: an assertion is raised.
If the message size exceeds the maximum configured size: an exception is raised. If the maximum delivery time is exceeded: an exception is raised.
Previous: net channels ifaces tichannel, Up: net channels ifaces [Index]