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

Google


Objective Systems, Inc.

OSSocketInputStream Class Reference

Generic socket input stream. More...

#include <rtxCppSocketInputStream.h>

Inheritance diagram for OSSocketInputStream:

OSInputStream OSStream OSInputStreamIF OSStreamIF OSStreamIF List of all members.

Public Member Functions

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

Protected Attributes

OSSocketClass mSocket
 a socket

Detailed Description

Generic socket input stream.

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

Definition at line 38 of file rtxCppSocketInputStream.h.


Constructor & Destructor Documentation

OSSocketInputStream::OSSocketInputStream OSSocketClass socket  ) 
 

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

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

OSSocketInputStream::OSSocketInputStream OSContext pContext,
OSSocketClass socket
 

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

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

OSSocketInputStream::OSSocketInputStream OSRTSOCKET  socket,
OSBOOL  ownership = FALSE
 

Creates and initializes the socket input 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

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

Creates and initializes the socket input 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