senf::UNSocketProtocol Class Reference
[Protocol Facets]

Protocol facet providing Unix Domain Addressing related API. More...

#include <senf/Socket/Protocols/UN/UNSocketProtocol.hh>

Inheritance diagram for senf::UNSocketProtocol:
Inheritance graph
[legend]

List of all members.


Detailed Description

Protocol facet providing Unix Domain Addressing related API.

This protocol facet introduces all the socket api protocol members which are related to Unix Domain addressing.

Definition at line 45 of file UNSocketProtocol.hh.


Public Member Functions

virtual void  close ()
  Close socket.
virtual void  terminate () const
  Forcibly close socket.

Abstract Interface Implementation

unsigned  available () const
  Return (maximum) number of bytes available for reading < without < blocking.
bool  eof () const
  Check for end-of-file condition.

Member Function Documentation

void senf::UNSocketProtocol::
close ()

Close socket.

This override will automatically shutdown() the socket whenever it is closed.

Exceptions:
senf::SystemException 

Reimplemented from senf::SocketProtocol.

Definition at line 56 of file UNSocketProtocol.cc.


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