xorp

XrlTestV1p0Client Class Reference

List of all members.

Public Types

typedef XorpCallback1< void,
const XrlError & >::RefPtr 
PrintHelloWorldCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
PrintHelloWorldAndMessageCB
typedef XorpCallback2< void,
const XrlError &, const
int32_t * >::RefPtr 
GetGreetingCountCB
typedef XorpCallback2< void,
const XrlError &, const string * >
::RefPtr 
GetGreetingCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
ShootFootCB
typedef XorpCallback2< void,
const XrlError &, const fp64_t * >
::RefPtr 
FloatMyPointCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
PrintHelloWorldCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
PrintHelloWorldAndMessageCB
typedef XorpCallback2< void,
const XrlError &, const
int32_t * >::RefPtr 
GetGreetingCountCB
typedef XorpCallback2< void,
const XrlError &, const string * >
::RefPtr 
GetGreetingCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
ShootFootCB
typedef XorpCallback2< void,
const XrlError &, const fp64_t * >
::RefPtr 
FloatMyPointCB

Public Member Functions

 XrlTestV1p0Client (XrlSender *s)
bool send_print_hello_world (const char *dst_xrl_target_name, const PrintHelloWorldCB &cb)
 Send Xrl intended to:
bool send_print_hello_world_and_message (const char *dst_xrl_target_name, const string &msg, const PrintHelloWorldAndMessageCB &cb)
 Send Xrl intended to:
bool send_get_greeting_count (const char *dst_xrl_target_name, const GetGreetingCountCB &cb)
 Send Xrl intended to:
bool send_get_greeting (const char *dst_xrl_target_name, const int32_t &greeting_num, const GetGreetingCB &cb)
 Send Xrl intended to:
bool send_shoot_foot (const char *dst_xrl_target_name, const ShootFootCB &cb)
 Send Xrl intended to:
bool send_float_my_point (const char *dst_xrl_target_name, const fp64_t &input, const FloatMyPointCB &cb)
 Send Xrl intended to:
 XrlTestV1p0Client (XrlSender *s)
bool send_print_hello_world (const char *dst_xrl_target_name, const PrintHelloWorldCB &cb)
 Send Xrl intended to:
bool send_print_hello_world_and_message (const char *dst_xrl_target_name, const string &msg, const PrintHelloWorldAndMessageCB &cb)
 Send Xrl intended to:
bool send_get_greeting_count (const char *dst_xrl_target_name, const GetGreetingCountCB &cb)
 Send Xrl intended to:
bool send_get_greeting (const char *dst_xrl_target_name, const int32_t &greeting_num, const GetGreetingCB &cb)
 Send Xrl intended to:
bool send_shoot_foot (const char *dst_xrl_target_name, const ShootFootCB &cb)
 Send Xrl intended to:
bool send_float_my_point (const char *dst_xrl_target_name, const fp64_t &input, const FloatMyPointCB &cb)
 Send Xrl intended to:

Protected Attributes

XrlSender_sender

Static Private Member Functions

static void unmarshall_print_hello_world (const XrlError &e, XrlArgs *a, PrintHelloWorldCB cb)
static void unmarshall_print_hello_world_and_message (const XrlError &e, XrlArgs *a, PrintHelloWorldAndMessageCB cb)
static void unmarshall_get_greeting_count (const XrlError &e, XrlArgs *a, GetGreetingCountCB cb)
static void unmarshall_get_greeting (const XrlError &e, XrlArgs *a, GetGreetingCB cb)
static void unmarshall_shoot_foot (const XrlError &e, XrlArgs *a, ShootFootCB cb)
static void unmarshall_float_my_point (const XrlError &e, XrlArgs *a, FloatMyPointCB cb)
static void unmarshall_print_hello_world (const XrlError &e, XrlArgs *a, PrintHelloWorldCB cb)
static void unmarshall_print_hello_world_and_message (const XrlError &e, XrlArgs *a, PrintHelloWorldAndMessageCB cb)
static void unmarshall_get_greeting_count (const XrlError &e, XrlArgs *a, GetGreetingCountCB cb)
static void unmarshall_get_greeting (const XrlError &e, XrlArgs *a, GetGreetingCB cb)
static void unmarshall_shoot_foot (const XrlError &e, XrlArgs *a, ShootFootCB cb)
static void unmarshall_float_my_point (const XrlError &e, XrlArgs *a, FloatMyPointCB cb)

Private Attributes

auto_ptr< Xrlap_xrl_print_hello_world
auto_ptr< Xrlap_xrl_print_hello_world_and_message
auto_ptr< Xrlap_xrl_get_greeting_count
auto_ptr< Xrlap_xrl_get_greeting
auto_ptr< Xrlap_xrl_shoot_foot
auto_ptr< Xrlap_xrl_float_my_point

Member Function Documentation

bool XrlTestV1p0Client::send_float_my_point ( const char *  dst_xrl_target_name,
const fp64_t &  input,
const FloatMyPointCB &  cb 
)

Send Xrl intended to:

Handle IEEE754 binary64 format.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlTestV1p0Client::send_float_my_point ( const char *  dst_xrl_target_name,
const fp64_t &  input,
const FloatMyPointCB &  cb 
)

Send Xrl intended to:

Handle IEEE754 binary64 format.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlTestV1p0Client::send_get_greeting ( const char *  dst_xrl_target_name,
const int32_t &  greeting_num,
const GetGreetingCB &  cb 
)

Send Xrl intended to:

Get greeting.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
greeting_numindex of greeting.
bool XrlTestV1p0Client::send_get_greeting ( const char *  dst_xrl_target_name,
const int32_t &  greeting_num,
const GetGreetingCB &  cb 
)

Send Xrl intended to:

Get greeting.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
greeting_numindex of greeting.
bool XrlTestV1p0Client::send_get_greeting_count ( const char *  dst_xrl_target_name,
const GetGreetingCountCB &  cb 
)

Send Xrl intended to:

Count number of greetings available.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlTestV1p0Client::send_get_greeting_count ( const char *  dst_xrl_target_name,
const GetGreetingCountCB &  cb 
)

Send Xrl intended to:

Count number of greetings available.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlTestV1p0Client::send_print_hello_world ( const char *  dst_xrl_target_name,
const PrintHelloWorldCB &  cb 
)

Send Xrl intended to:

Print "hello world".

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlTestV1p0Client::send_print_hello_world ( const char *  dst_xrl_target_name,
const PrintHelloWorldCB &  cb 
)

Send Xrl intended to:

Print "hello world".

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlTestV1p0Client::send_print_hello_world_and_message ( const char *  dst_xrl_target_name,
const string &  msg,
const PrintHelloWorldAndMessageCB &  cb 
)

Send Xrl intended to:

Print "hello world" and a user supplied greeting.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
msggreeting to be printed.
bool XrlTestV1p0Client::send_print_hello_world_and_message ( const char *  dst_xrl_target_name,
const string &  msg,
const PrintHelloWorldAndMessageCB &  cb 
)

Send Xrl intended to:

Print "hello world" and a user supplied greeting.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
msggreeting to be printed.
bool XrlTestV1p0Client::send_shoot_foot ( const char *  dst_xrl_target_name,
const ShootFootCB &  cb 
)

Send Xrl intended to:

Something that always fails.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlTestV1p0Client::send_shoot_foot ( const char *  dst_xrl_target_name,
const ShootFootCB &  cb 
)

Send Xrl intended to:

Something that always fails.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations