Inheritance diagram for code::LBInterfaceInfo_glib:
Public Member Functions | |
LBInterfaceInfo_glib (const URL &lbName) | |
virtual int | open (int flags, LB_attr *attr) |
virtual int | read (void *buf, int buflen, LB_id_t msgid) |
virtual int | read (std::vector< char > &buf, LB_id_t msgid) |
virtual int | write (char *message, int length, LB_id_t msgid) |
virtual int | close () |
virtual int | seek (int offset, LB_id_t from, LB_info *info) |
virtual int | stat (LB_status *status) |
virtual int | list (LB_info *lst, int nlist) |
virtual LB_id_t | previous_msgid () |
virtual int | lock (int command, LB_id_t mid) |
virtual int | msg_info (LB_id_t msgid, LB_info *info) |
Static Public Member Functions | |
static LBInterfaceInfo * | createLBInterfaceInfo (const URL &lbName) |
Singleton: only one interface per lbname. | |
Public Attributes | |
int | id |
LB library identifier. | |
code::URL | name |
Name of LB. | |
DoNothingThreadMutex | lbMutex |
Mutex to serialize access to LB. | |
Static Protected Member Functions | |
static bool | isHostNameSyntax (const char *lbName) |
For checking whether the name is of host name syntax. |
code::LBInterfaceInfo_glib::LBInterfaceInfo_glib | ( | const URL & | lbName | ) | [inline] |
virtual int code::LBInterfaceInfo_glib::close | ( | ) | [virtual] |
Implements code::LBInterfaceInfo.
static LBInterfaceInfo* code::LBInterfaceInfo::createLBInterfaceInfo | ( | const URL & | lbName | ) | [static, inherited] |
Singleton: only one interface per lbname.
static bool code::LBInterfaceInfo::isHostNameSyntax | ( | const char * | lbName | ) | [static, protected, inherited] |
For checking whether the name is of host name syntax.
virtual int code::LBInterfaceInfo_glib::list | ( | LB_info * | lst, | |
int | nlist | |||
) | [virtual] |
Implements code::LBInterfaceInfo.
virtual int code::LBInterfaceInfo_glib::lock | ( | int | command, | |
LB_id_t | mid | |||
) | [virtual] |
Implements code::LBInterfaceInfo.
virtual int code::LBInterfaceInfo_glib::msg_info | ( | LB_id_t | msgid, | |
LB_info * | info | |||
) | [virtual] |
Implements code::LBInterfaceInfo.
virtual int code::LBInterfaceInfo_glib::open | ( | int | flags, | |
LB_attr * | attr | |||
) | [virtual] |
Implements code::LBInterfaceInfo.
virtual LB_id_t code::LBInterfaceInfo_glib::previous_msgid | ( | ) | [virtual] |
Implements code::LBInterfaceInfo.
virtual int code::LBInterfaceInfo_glib::read | ( | std::vector< char > & | buf, | |
LB_id_t | msgid | |||
) | [virtual] |
Implements code::LBInterfaceInfo.
virtual int code::LBInterfaceInfo_glib::read | ( | void * | buf, | |
int | buflen, | |||
LB_id_t | msgid | |||
) | [virtual] |
Implements code::LBInterfaceInfo.
virtual int code::LBInterfaceInfo_glib::seek | ( | int | offset, | |
LB_id_t | from, | |||
LB_info * | info | |||
) | [virtual] |
Implements code::LBInterfaceInfo.
virtual int code::LBInterfaceInfo_glib::stat | ( | LB_status * | status | ) | [virtual] |
Implements code::LBInterfaceInfo.
virtual int code::LBInterfaceInfo_glib::write | ( | char * | message, | |
int | length, | |||
LB_id_t | msgid | |||
) | [virtual] |
Implements code::LBInterfaceInfo.
int code::LBInterfaceInfo::id [inherited] |
LB library identifier.
DoNothingThreadMutex code::LBInterfaceInfo::lbMutex [inherited] |
Mutex to serialize access to LB.
code::URL code::LBInterfaceInfo::name [inherited] |
Name of LB.
Has machine name if remote.