ServerIO Namespace
Contains ServerIO implementation classes. More...
Header: | #include <ServerIO> |
Namespaces
namespace | Translator |
Classes
class | ACDPBaseChannel |
class | CDPPropertyChannel |
class | CDPPropertyChannelFactory |
class | CDPSignalChannel |
class | CDPSignalChannelFactory |
class | ChangeValidatorSupport |
class | ChannelManager |
class | ComponentStateChannel |
class | ComponentStateChannelFactory |
class | DeltaValidatorSendTrigger |
class | ICDPChannel |
class | IChangeValidator |
class | IChannel |
class | ISendTrigger |
class | IWakeFunctor |
class | RPCClient |
class | RPCServer |
Types
typedef | ISendOnPropertyChange |
Detailed Description
Contains ServerIO implementation classes.
Classes
class ACDPBaseChannel
ACDPBaseChannel is a template base class, exposing channel-methods for converting values from to CDP data source. More...
class CDPPropertyChannel
The CDPPropertyChannel template-class is ACDPBaseChannel implementation based on CDPProperty. More...
class CDPPropertyChannelFactory
CDPPropertyChannelFactory is used to create a CDPPropertyChannel of specified type. More...
class CDPSignalChannel
The CDPSignalChannel template-class is an ACDPBaseChannel<> implementation based on CDPSignal. More...
class CDPSignalChannelFactory
CDPSignalChannelFactory is used to create a CDPSignalChannel of specified type. More...
class ChangeValidatorSupport
The ChangeValidatorSupport class has a list of IChangeValidators that is iterated on each value change in channel. More...
class ChannelManager
The ChannelManager class can be used to synchronize ICDPChannel classes between User/Worker thread and CDPProcess where the CDP class (like CDPSignal, CDPProperty) for channel implementation is created. More...
class ComponentStateChannel
The ComponentStateChannel template-class is ACDPBaseChannel implementation using CDPConnector. More...
class ComponentStateChannelFactory
ComponentStateChannelFactory is used to create a ComponentStateChannel of specified type. More...
class DeltaValidatorSendTrigger
DeltaValidatorSendTrigger is a class that implements the Equals(), NotEquals() and Revert() functions from IChangeValidator-class. More...
class ICDPChannel
ICDPChannel exposes methods from a channel that we expect to be on a CDP class based single type value converting channel from to CDP data source or sink like CDPSignal. More...
class IChangeValidator
IChangeValidator may be used on each value change in channel. The Validate()-function decides if the new value is accepted or not. More...
class IChannel
IChannel exposes methods from a channel that can be used by IOServer implementation to convert to from IOServer raw packets to some CDP based implementation of the channel. More...
class ISendTrigger
Interface class used for trig sending, e.g. when a routed property has an edge (change from true to false or from false to true). ISendOnPropertyChange is a typedef for ISendTrigger. More...
class IWakeFunctor
Generic wake functor for IOServers to provide a way to wake them from the ISendTrigger implementer FlagForSend() call. See IOServer::RegisterSendOnChangeWakeCall(). More...
class RPCClient
Generic RPC (remote procedure call) binary-message-based service client. More...
class RPCServer
Generic RPC (remote procedure call) binary-message-based server class to be used in RPC service implementers. More...
Type Documentation
typedef ServerIO::ISendOnPropertyChange
ISendOnPropertyChange is a typedef for ISendTrigger, and is an interface class for packet implementation on IOServers. The interface enables the use of send on property change.
Each packet that implements ISendTrigger must use IOServer calls RegisterSendOnChange(this) and DeregisterSendOnChange(this) to connect with IOServerPeriodic change or RegisterSendOnChange(this,"Listened.Property.Name") and DeregisterSendOnChange(this,"Listened.Property.Name") that should be handled in the configure from xml and packet delete.
The provided property routing should be to bool type property as the packets FlagForSend() will be called on each edge in property value (when the property value changes from true to false or from false to true).
See also IOServer, ServerIO, ServerIO::ISendTrigger, and ServerIO::ChannelManager.
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.