skstream
Public Member Functions | Private Member Functions | List of all members
unix_socket_stream Class Reference

An iostream class that handles unix sockets. More...

#include <skstream_unix.h>

Inheritance diagram for unix_socket_stream:
stream_socket_stream basic_socket_stream basic_socket

Public Member Functions

 unix_socket_stream (SOCKET_TYPE socket)
 
 unix_socket_stream (const std::string &address, bool nonblock=false)
 
 unix_socket_stream (const std::string &address, unsigned int milliseconds)
 
 unix_socket_stream (unix_socket_stream &other, bool nonblock=false)
 
void open (const std::string &address, bool nonblock=false)
 
void open (const std::string &address, unsigned int milliseconds)
 
void open (unix_socket_stream &other, bool nonblock=false)
 
bool isReady (unsigned int milliseconds=0)
 
- Public Member Functions inherited from stream_socket_stream
virtual void close ()
 
virtual SOCKET_TYPE getSocket () const
 
bool connect_pending () const
 
- Public Member Functions inherited from basic_socket_stream
 basic_socket_stream (socketbuf &buffer, int proto=FreeSockets::proto_IP)
 Make a socket stream.
 
bool fail ()
 
bool operator! ()
 
bool timeout () const
 
void shutdown (bool wr_only=false)
 
void setSocket (SOCKET_TYPE sock)
 
void setTimeout (unsigned sec, unsigned usec=0)
 
int getProtocol () const
 
- Public Member Functions inherited from basic_socket
int getLastError () const
 
void copyLastError (const basic_socket &other)
 
bool is_open () const
 

Private Member Functions

 unix_socket_stream (const unix_socket_stream &)
 
unix_socket_streamoperator= (const unix_socket_stream &socket)
 

Additional Inherited Members

- Static Public Member Functions inherited from basic_socket
static bool startup ()
 
- Protected Member Functions inherited from stream_socket_stream
 stream_socket_stream (SOCKET_TYPE socket)
 
- Protected Member Functions inherited from basic_socket
void setLastError () const
 
- Protected Attributes inherited from stream_socket_stream
SOCKET_TYPE _connecting_socket
 
- Protected Attributes inherited from basic_socket_stream
socketbuf_sockbuf
 
int m_protocol
 
- Protected Attributes inherited from basic_socket
int LastError
 

Detailed Description

An iostream class that handles unix sockets.

This software package has been extensively modified by members of the Worldforge Project. See the file ChangeLog for details.

$Id$


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