AppEasy Core SDK  1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
CzXomlActions_Comms Class Reference

Implements a collection of comms actions. More...

#include <CzActionsComms.h>

Inheritance diagram for CzXomlActions_Comms:
IzXomlAction

List of all members.

Public Types

enum  eActionType { Action_RemoteReq = 0, Action_Max = 1 }

Public Member Functions

 CzXomlActions_Comms (eActionType type)
void Execute (IzXomlResource *source, CzAction *action)
 The main actions executor for communication related actions. All communication specific actions are implemented by this method.

Protected Member Functions

 CzXomlActions_Comms ()

Protected Attributes

eActionType Type

Detailed Description

Implements a collection of comms actions.

The CzXomlActions_Comms class holds Actions (IzXomlAction) that deal with communications such as sending remote requests. A comms action is basically a command that causes some kind of communication between a server or another device to take place.

The following actions are supported:

  • RemoteReq - Processes a remote rquest

The above actions have the following XOML prototypes:

  • RemoteReq(remote-request-name, data-to-send(optional))
    • remote-request-name - Name of RemoteReq resource to call
    • data-to-send - Data to send to the request (replaced that which is supplied by the remote request definition)

For more information on the remote request system see CzRemoteReq


Member Enumeration Documentation

Enumerator:
Action_RemoteReq 
Action_Max 

Constructor & Destructor Documentation


Member Function Documentation

void CzXomlActions_Comms::Execute ( IzXomlResource source,
CzAction action 
) [virtual]

The main actions executor for communication related actions. All communication specific actions are implemented by this method.

Parameters:
[in]source- The source of the action
[in]action- The action to execute

Implements IzXomlAction.


Member Data Documentation


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