class FinderServer

A wrapper class for the components within a Finder. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Protected Members


Detailed Description

A wrapper class for the components within a Finder.

Instantiates a Finder object and IPC infrastructure for Finder to accept accept incoming connections.

typedef list<FinderTcpListener*> Listeners

Listeners

 FinderServer (EventLoop& e, IPv4 default_interface, uint16_t default_port)
throw (InvalidAddress, InvalidPort)

FinderServer

Constructor

 ~FinderServer ()

~FinderServer

Destructor

bool  add_binding (IPv4 addr, uint16_t port)
throw (InvalidAddress, InvalidPort)

add_binding

Add an additional interface and port to accept connections on.

Returns: true on success, false if binding already exists or cannot be instantiated.

bool  remove_binding (IPv4 addr, uint16_t port)

remove_binding

Remove an interface binding that was added by calling add_binding.

Returns: true on success, false if binding does not exist or was not added by add_binding.

inline uint32_t  connection_count ()

connection_count

[const]

Accessor to the number of connections the Finder has.

IPv4  addr ()

addr

[const]

uint16_t  port ()

port

[const]

EventLoop& _e

_e

[protected]

Finder _f

_f

[protected]

FinderXrlTarget _fxt

_fxt

[protected]

Listeners _listeners

_listeners

[protected]


Generated by: pavlin on possum.icir.org on Thu Mar 9 04:42:28 2006, using kdoc $.