Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

ss::option Class Reference

Interface for stream options. More...

#include <stream_option.h>

List of all members.

Public Member Functions

virtual ~option ()
 Destructor.
virtual int level ()=0
 Returns option level.
virtual int code ()=0
 Returns option code.
virtual char * value ()=0
 Returns option value buffer.
virtual size_t size ()=0
 Returns option value buffer size.


Detailed Description

Interface for stream options.

Implementations of this interface know about a certain socket level set of options and their expected value buffers.

Definition at line 35 of file stream_option.h.


Member Function Documentation

virtual size_t ss::option::size  )  [pure virtual]
 

Returns option value buffer size.

If we are getting an option, instead of setting, this will hold the actual size of stored data.

virtual char* ss::option::value  )  [pure virtual]
 

Returns option value buffer.

This either contains the value to set the option, or will contain the value to get the option.


The documentation for this class was generated from the following file:
Generated on Sat May 21 21:25:52 2005 for Socket Streams Library by  doxygen 1.4.3