function agents($uri=NULL) {
		return array_filter(
			$this->agents,
			function($val) use($uri) {
				return $uri?($val->uri()==$uri):TRUE;
			}
		);
	}
function agents($uri=NULL) {
		return array_filter(
			$this->agents,
			function($val) use($uri) {
				return $uri?($val->uri()==$uri):TRUE;
			}
		);
	}
function agents ( $ uri = NULL ) { return array_filter ( $ this -> agents , function ( $ val ) use ( $ uri ) { return $ uri ? ( $ val -> uri ( ) == $ uri ) : TRUE ; } ) ; }
Return socket agents
@return array
@param $uri string
*
Return socket agents