TCPIPListener::TCPIPListener |
( |
const AString & |
address, |
|
|
bool |
safe |
|
) |
| |
TCPIPListener::~TCPIPListener |
( |
| ) |
|
void TCPIPListener::add_listener |
( |
| ) |
|
bool TCPIPListener::add_port |
( |
const AString & |
given_address_str, |
|
|
int |
port |
|
) |
| |
int TCPIPListener::call |
( |
Tuple & |
iarg, |
|
|
Tuple & |
outArg |
|
) |
| |
|
inline |
const AString& TCPIPListener::get_address |
( |
| ) |
const |
|
inlinevirtual |
- Returns
- the encoded address of listener ! as it must appear in the sender spec address field.
Implements commore::Listener.
size_t TCPIPListener::get_address_list |
( |
ListAString & |
addressList, |
|
|
bool |
local |
|
) |
| |
size_t TCPIPListener::get_buffer_size |
( |
| ) |
|
|
inline |
size_t TCPIPListener::get_max_listener_size |
( |
| ) |
|
|
inline |
void TCPIPListener::interface_release |
( |
| ) |
|
|
virtual |
Call when nested_release reach count 0 To be implemented by ref object
- Todo:
- is usefull
Reimplemented from commore::RefObject.
bool TCPIPListener::is_ok |
( |
| ) |
const |
|
inline |
bool TCPIPListener::is_stopped |
( |
| ) |
const |
|
inline |
bool TCPIPListener::remove_port |
( |
int |
port | ) |
|
void TCPIPListener::remove_socket |
( |
PSocket |
socket | ) |
|
void TCPIPListener::reset_callback |
( |
| ) |
|
|
inlinevirtual |
void TCPIPListener::reset_hook |
( |
| ) |
|
void TCPIPListener::set_buffer_size |
( |
size_t |
size | ) |
|
|
inline |
void TCPIPListener::set_callback |
( |
Callback & |
callback | ) |
|
|
inlinevirtual |
void TCPIPListener::set_max_listener_size |
( |
size_t |
size | ) |
|
|
inline |
void TCPIPListener::set_param |
( |
const Tuple & |
param | ) |
|
|
inlinevirtual |
bool TCPIPListener::start |
( |
| ) |
|
|
inlinevirtual |
Start listen, notice that start is automaticaly called when object is created.
- Returns
- true if lstener is started
Reimplemented from commore::Listener.
bool TCPIPListener::stop |
( |
| ) |
|
|
inlinevirtual |
Stop listen Finish current call, close connections, and does not accept new connection any more.
- Returns
- true if lstener is stopped
Reimplemented from commore::Listener.
void TCPIPListener::submit_accept |
( |
PSocket |
socket | ) |
|
The documentation for this class was generated from the following file: