Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
FBB::LocalSocketBase(3Baseaclass for Unix Domain FBB::LocalSocketBase(3bobcat)

NAME
       FBB::LocalSocketBase  -	Base class for Unix Domain socket-constructing
       classes

SYNOPSIS
       #include	<bobcat/localsocketbase>
       Linking option: -lbobcat

DESCRIPTION
       This class is a base class for the FBB::LocalServerSocket and  FBB::Lo-
       calClientSocket classes.	Since it is designed as	a base class, its con-
       structor	is protected. All its remaining	members	are protected as well.

NAMESPACE
       FBB
       All constructors, members, operators  and  manipulators,	 mentioned  in
       this man-page, are defined in the namespace FBB.

INHERITS FROM
       -

PROTECTED CONSTRUCTOR
       o      LocalSocketBase():
	      The default constructor merely constructs	a FBB::LocalSocketBase
	      object. Before the object	can be used, its open()	member must be
	      called first.

       o      LocalSocketBase(string const &name):
	      This constructor creates a LocalSocketBase using the file	speci-
	      fied in name as the Unix domain socket interface.	 If the	socket
	      could not	be constructed,	an FBB::Exception exception is thrown.
	      The copy constructor is not available.

PROTECTED MEMBER FUNCTIONS
       o      open(string const	&name):
	      This member initiaizes a LocalSocketBase	object	following  its
	      construction  using  the default constructor. The	file specified
	      in name is used as the Unix domain  socket  interface.   If  the
	      socket  could not	be constructed,	an FBB::Exception exception is
	      thrown.

       o      size_t size() const:
	      Accessor returning the size of  the  object's  sockaddr_un  (ad-
	      dress)

       o      int socket() const:
	      This accessor returns the	FBB::LocalSocketBase's socket value.

       o      sockaddr const *sockaddrPtr() const:
	      Accessor returning the pointer to	the object's sockaddr.

EXAMPLE
       See  the	examples presented with	the localclientsocket(3bobcat) and lo-
       calserversocket(3bobcat)	classes.

FILES
       bobcat/localsocketbase -	defines	the class interface

SEE ALSO
       bobcat(7),   localclientsocket(3bobcat),	   localserversocket(3bobcat),
       socketbase(3bobcat)

BUGS
       None Reported.

DISTRIBUTION FILES
       o      bobcat_3.25.01-x.dsc: detached signature;

       o      bobcat_3.25.01-x.tar.gz: source archive;

       o      bobcat_3.25.01-x_i386.changes: change log;

       o      libbobcat1_3.25.01-x_*.deb:   debian  package  holding  the  li-
	      braries;

       o      libbobcat1-dev_3.25.01-x_*.deb: debian package holding  the  li-
	      braries, headers and manual pages;

       o      http://sourceforge.net/projects/bobcat: public archive location;

BOBCAT
       Bobcat is an acronym of `Brokken's Own Base Classes And Templates'.

COPYRIGHT
       This  is	 free software,	distributed under the terms of the GNU General
       Public License (GPL).

AUTHOR
       Frank B.	Brokken	(f.b.brokken@rug.nl).

libbobcat-dev_3.25.01-x.tar.gz	   2005-2015	 FBB::LocalSocketBase(3bobcat)

NAME | SYNOPSIS | DESCRIPTION | NAMESPACE | INHERITS FROM | PROTECTED CONSTRUCTOR | PROTECTED MEMBER FUNCTIONS | EXAMPLE | FILES | SEE ALSO | BUGS | DISTRIBUTION FILES | BOBCAT | COPYRIGHT | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=localsocketbase&sektion=3bobcat&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help