/** \brief Check the validity of the object
 */
bool	socket_resp_arg_t::is_valid()	const throw()
{
	// check for all the mandatory paramters
	if( !domain_present() )		return false;
	if( !type_present() )		return false;
	if( !listen_addr_present() )	return false;
	// return no error
	return true;
}
Esempio n. 2
0
 inline bool status_known(file_status f) { return type_present(f) && permissions_present(f); }