API Guides > ConceptRT 3.x
DynamicInvocationClientChannelUdp Class Reference

Dynamic invocation client channel udp. More...

Detailed Description

Dynamic invocation client channel udp.

Examples:
DynamicInvocation/1.Client/main.cpp.
+ Inheritance diagram for DynamicInvocationClientChannelUdp:

Public Member Methods

 DynamicInvocationClientChannelUdp (PCChar8 hostName, Int32 port)
 Constructor. More...
 
DynamicInvocationRequestGetInvocationRequest ()
 Gets the invocation request. More...
 
bool Lock (TimeSpan timeOut=TimeInfinite)
 Locks. More...
 
bool PerformInvocation (TimeSpan timeOut=TimeInfinite)
 Perform invocation. More...
 
const DynamicInvocationResultGetInvocationResult ()
 Gets the invocation result. More...
 
void Unlock ()
 Unlocks this object. More...
 
void UpdateClient (PCChar8 hostName, Int32 port)
 Updates the client. More...
 

Constructor & Destructor Documentation

Constructor.

Parameters
hostNameName of the host.
portThe port.

Methods Documentation

DynamicInvocationRequest& GetInvocationRequest ( )
virtual

Gets the invocation request.

Returns
The invocation request.

Implements DynamicInvocationClientChannel.

const DynamicInvocationResult& GetInvocationResult ( )
virtual

Gets the invocation result.

Returns
The invocation result.

Implements DynamicInvocationClientChannel.

bool Lock ( TimeSpan  timeOut = TimeInfinite)
virtual

Locks.

Parameters
timeOut(optional) the time out.
Returns
true if it succeeds, false if it timeout occurs.

Implements DynamicInvocationClientChannel.

bool PerformInvocation ( TimeSpan  timeOut = TimeInfinite)
virtual

Perform invocation.

Parameters
timeOut(optional) the time out.
Returns
true if it succeeds, false if it timeout occurs.

Implements DynamicInvocationClientChannel.

void Unlock ( )
virtual

Unlocks this object.

Implements DynamicInvocationClientChannel.

void UpdateClient ( PCChar8  hostName,
Int32  port 
)

Updates the client.

Parameters
hostNameName of the host.
portThe port.