Objective Systems, Inc.  
Home
About ASN.1
Products
Free Software
Documents
Services
Resources
Resellers
Customers
Careers
About Us
Contact Us
 

Google


Objective Systems, Inc.

OSSocketOutputStream Class Reference

Generic socket output stream. More...

#include <rtxCppSocketOutputStream.h>

Inheritance diagram for OSSocketOutputStream:

OSOutputStream OSStream OSOutputStreamIF OSStreamIF OSStreamIF List of all members.

Public Member Functions

 OSSocketOutputStream (OSSocketClass &socket)
 Creates and initializes a socket output stream using the OSSocketClass instance of socket.
 OSSocketOutputStream (OSContext *pContext, OSSocketClass &socket)
 Creates and initializes a socket output stream using the OSSocketClass instance of socket.
 OSSocketOutputStream (OSRTSOCKET socket, OSBOOL ownership=FALSE)
 Initializes the socket output stream using the socket handle.
 OSSocketOutputStream (OSContext *pContext, OSRTSOCKET socket, OSBOOL ownership=FALSE)
 Initializes the socket output stream using the socket handle.

Protected Attributes

OSSocketClass mSocket
 a socket

Detailed Description

Generic socket output stream.

This class opens an existing socket for output in binary mode and reads data from it.

Definition at line 38 of file rtxCppSocketOutputStream.h.


Constructor & Destructor Documentation

OSSocketOutputStream::OSSocketOutputStream OSSocketClass socket  ) 
 

Creates and initializes a socket output stream using the OSSocketClass instance of socket.

Parameters:
socket Reference to OSSocketClass instance.
See also:
rtxStreamSocketOpen

OSSocketOutputStream::OSSocketOutputStream OSContext pContext,
OSSocketClass socket
 

Creates and initializes a socket output stream using the OSSocketClass instance of socket.

Parameters:
pContext Pointer to a context to use.
socket Reference to OSSocketClass instance.
See also:
rtxStreamSocketOpen

OSSocketOutputStream::OSSocketOutputStream OSRTSOCKET  socket,
OSBOOL  ownership = FALSE
 

Initializes the socket output stream using the socket handle.

Parameters:
socket Handle of the socket.
ownership Indicates ownership of the socket. Set to TRUE to pass ownership to this object instance. The socket will be closed when this object instance is deleted or goes out of scope.
See also:
rtxStreamSocketAttach

OSSocketOutputStream::OSSocketOutputStream OSContext pContext,
OSRTSOCKET  socket,
OSBOOL  ownership = FALSE
 

Initializes the socket output stream using the socket handle.

Parameters:
pContext Pointer to a context to use.
socket Handle of the socket.
ownership Indicates ownership of the socket. Set to TRUE to pass ownership to this object instance. The socket will be closed when this object instance is deleted or goes out of scope.
See also:
rtxStreamSocketAttach


The documentation for this class was generated from the following file:

This file was last modified on 8 Jan 2007.
XBinder, Version 1.1.9