Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

VOS::AsyncConnect Class Reference

Connects to a remote site sort of asynchronously. More...

#include <remotesocketsite.hh>

List of all members.

Public Member Functions

Static Public Member Functions

Public Attributes


Detailed Description

Connects to a remote site sort of asynchronously.

It starts the connection process in separate kernel thread so that a call to gethostbyname() or connect() does not hang the entire application process. Meanwhile, the main thread repeatedly calls flushIncomingBuffers() while waiting for the worker thread to come back with the results of the connection.

For internal use only.

Definition at line 49 of file remotesocketsite.hh.


Constructor & Destructor Documentation

AsyncConnect::AsyncConnect bool *  isdone,
RemoteSocketSite **  rs,
LocalSite localpeer,
const string &  host,
unsigned short int  port,
bool  isspooftest
 

Definition at line 656 of file remotesocketsite.cc.


Member Function Documentation

RemoteSocketSite * AsyncConnect::connect const string &  h,
unsigned short int  p,
LocalSite defaultPeer,
bool  isspooftest
[static]
 

Definition at line 664 of file remotesocketsite.cc.

void AsyncConnect::operator()  ) 
 

Definition at line 702 of file remotesocketsite.cc.


Member Data Documentation

bool* VOS::AsyncConnect::done
 

Definition at line 52 of file remotesocketsite.hh.

Referenced by AsyncConnect(), and operator()().

string VOS::AsyncConnect::exstring
 

Definition at line 57 of file remotesocketsite.hh.

Referenced by connect(), and operator()().

LocalSite* VOS::AsyncConnect::localpeer
 

Definition at line 54 of file remotesocketsite.hh.

Referenced by operator()().

string VOS::AsyncConnect::remotehost
 

Definition at line 55 of file remotesocketsite.hh.

Referenced by operator()().

unsigned short int VOS::AsyncConnect::remoteport
 

Definition at line 56 of file remotesocketsite.hh.

Referenced by operator()().

RemoteSocketSite** VOS::AsyncConnect::remotesite
 

Definition at line 53 of file remotesocketsite.hh.

Referenced by AsyncConnect(), and operator()().

bool VOS::AsyncConnect::spooftest
 

Definition at line 58 of file remotesocketsite.hh.

Referenced by operator()().


The documentation for this class was generated from the following files:
Generated on Tue Aug 12 03:56:02 2003 for Interreality Project - VOS by doxygen 1.3.2