irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

irods::network_object Class Referenceabstract

#include <irods_network_object.hpp>

Inheritance diagram for irods::network_object:
[legend]
Collaboration diagram for irods::network_object:
[legend]

Public Member Functions

 network_object ()
 
 network_object (const rcComm_t &)
 
 network_object (const rsComm_t &)
 
 network_object (const network_object &)
 
virtual ~network_object ()
 
virtual network_objectoperator= (const network_object &)
 
virtual bool operator== (const network_object &_rhs) const
 
virtual error resolve (const std::string &, plugin_ptr &)=0
 
virtual error to_client (rcComm_t *)
 
virtual error to_server (rsComm_t *)
 
virtual error get_re_vars (rule_engine_vars_t &)
 
virtual int socket_handle () const
 
virtual void socket_handle (int _s)
 
- Public Member Functions inherited from irods::first_class_object
 first_class_object ()
 
virtual ~first_class_object ()
 

Private Attributes

int socket_handle_
 

Detailed Description

Definition at line 18 of file irods_network_object.hpp.

Constructor & Destructor Documentation

◆ network_object() [1/4]

irods::network_object::network_object ( )

Definition at line 12 of file irods_network_object.cpp.

◆ network_object() [2/4]

irods::network_object::network_object ( const rcComm_t _comm)

Definition at line 19 of file irods_network_object.cpp.

◆ network_object() [3/4]

irods::network_object::network_object ( const rsComm_t _comm)

Definition at line 27 of file irods_network_object.cpp.

◆ network_object() [4/4]

irods::network_object::network_object ( const network_object _rhs)

Definition at line 35 of file irods_network_object.cpp.

References socket_handle_.

◆ ~network_object()

irods::network_object::~network_object ( )
virtual

Definition at line 44 of file irods_network_object.cpp.

Member Function Documentation

◆ get_re_vars()

error irods::network_object::get_re_vars ( rule_engine_vars_t _kvp)
virtual

◆ operator=()

network_object & irods::network_object::operator= ( const network_object _rhs)
virtual

◆ operator==()

bool irods::network_object::operator== ( const network_object _rhs) const
virtual
Description:\n Comparison operator

Definition at line 58 of file irods_network_object.cpp.

References socket_handle_.

Referenced by irods::ssl_object::operator==(), and irods::tcp_object::operator==().

◆ resolve()

virtual error irods::network_object::resolve ( const std::string &  ,
plugin_ptr  
)
pure virtual

◆ socket_handle() [1/2]

virtual int irods::network_object::socket_handle ( ) const
inlinevirtual

Definition at line 59 of file irods_network_object.hpp.

References socket_handle_.

◆ socket_handle() [2/2]

virtual void irods::network_object::socket_handle ( int  _s)
inlinevirtual

Definition at line 65 of file irods_network_object.hpp.

References socket_handle_.

◆ to_client()

error irods::network_object::to_client ( rcComm_t _comm)
virtual

Reimplemented in irods::ssl_object.

Definition at line 78 of file irods_network_object.cpp.

References ERROR, rcComm_t::sock, socket_handle_, SUCCESS, and SYS_INVALID_INPUT_PARAM.

Referenced by irods::ssl_object::to_client().

◆ to_server()

error irods::network_object::to_server ( rsComm_t _comm)
virtual

Reimplemented in irods::ssl_object.

Definition at line 91 of file irods_network_object.cpp.

References ERROR, rsComm_t::sock, socket_handle_, SUCCESS, and SYS_INVALID_INPUT_PARAM.

Referenced by irods::ssl_object::to_server().

Member Data Documentation

◆ socket_handle_

int irods::network_object::socket_handle_
private

The documentation for this class was generated from the following files: