Loading...
Searching...
No Matches
IDataDistributionTransport Class Referenceabstract

Interface to be implemented from transport subsystem. More...

#include <DataDistributionManager.h>

Inheritance diagram for IDataDistributionTransport:
IDataDistributionChannelBase IDataDistributionSubsystem

Public Member Functions

virtual int GetServerLostTimeout ()=0
 Returns the server lost timeout.
 
virtual size_t GetMaxMessageSize ()=0
 Returns the max message size managed from the subsystem.
 
virtual OPERATION_RESULT Start (unsigned long timeout)=0
 Start the transport subsystem.
 
virtual OPERATION_RESULT Stop (unsigned long timeout)=0
 Start the transport subsystem.
 
- Public Member Functions inherited from IDataDistributionChannelBase
virtual CHANNEL_HANDLE CreateChannel (const char *channelName, IDataDistributionChannelCallback *dataCb, DDM_CHANNEL_DIRECTION direction=DDM_CHANNEL_DIRECTION::ALL, const char *arrayParams[]=NULL, int len=0)=0
 Creates a new channel.
 
virtual OPERATION_RESULT StartChannel (CHANNEL_HANDLE_PARAMETER, unsigned long timeout)=0
 Starts the channel.
 
virtual OPERATION_RESULT StopChannel (CHANNEL_HANDLE_PARAMETER, unsigned long timeout)=0
 Stops the channel.
 
virtual void SetParameter (CHANNEL_HANDLE_PARAMETER, const char *paramName, const char *paramValue)=0
 Sets a parameter at run-time.
 
virtual void SetParameter (CHANNEL_HANDLE_PARAMETER, DDM_GENERAL_PARAMETER paramId, const char *paramValue)=0
 Sets a parameter at run-time.
 
virtual const char * GetParameter (CHANNEL_HANDLE_PARAMETER, const char *paramName)=0
 Reads a parameter at run-time.
 
virtual const char * GetParameter (CHANNEL_HANDLE_PARAMETER, DDM_GENERAL_PARAMETER paramId)=0
 Reads a parameter at run-time.
 
virtual OPERATION_RESULT Lock (CHANNEL_HANDLE_PARAMETER, unsigned long timeout)=0
 Locks the channel.
 
virtual OPERATION_RESULT Unlock (CHANNEL_HANDLE_PARAMETER)=0
 Unlock the channel.
 
virtual OPERATION_RESULT SeekChannel (CHANNEL_HANDLE_PARAMETER, int64_t position, DDM_SEEKCONTEXT context=DDM_SEEKCONTEXT::OFFSET, DDM_SEEKKIND kind=DDM_SEEKKIND::ABSOLUTE)=0
 Seeks the channel.
 
virtual OPERATION_RESULT DeleteChannel (CHANNEL_HANDLE_PARAMETER)=0
 Deletes the channel.
 
virtual OPERATION_RESULT WriteOnChannel (CHANNEL_HANDLE_PARAMETER, const char *key, size_t keyLen, void *buffer, size_t bufferLen, const BOOL waitAll=FALSE, const int64_t timestamp=DDM_NO_TIMESTAMP)=0
 Writes data on the channel.
 
virtual OPERATION_RESULT ReadFromChannel (CHANNEL_HANDLE_PARAMETER, int64_t offset, size_t *bufferLen, void **buffer)=0
 Reads data from the channel.
 
virtual OPERATION_RESULT ChangeChannelDirection (CHANNEL_HANDLE_PARAMETER, DDM_CHANNEL_DIRECTION direction)=0
 Change the DDM_CHANNEL_DIRECTION of the channel.
 

Detailed Description

Interface to be implemented from transport subsystem.

Interface to be implemented from transport subsystem. Extends IDataDistributionChannelBase

Member Function Documentation

◆ GetMaxMessageSize()

virtual size_t IDataDistributionTransport::GetMaxMessageSize ( )
pure virtual

Returns the max message size managed from the subsystem.

Returns
Returns the max message size managed from the subsystem

◆ GetServerLostTimeout()

virtual int IDataDistributionTransport::GetServerLostTimeout ( )
pure virtual

Returns the server lost timeout.

Returns
The server lost timeout in milliseconds

◆ Start()

virtual OPERATION_RESULT IDataDistributionTransport::Start ( unsigned long timeout)
pure virtual

Start the transport subsystem.

timeout the operation timeout in milliseconds

Returns
the OPERATION_RESULT of the operation

◆ Stop()

virtual OPERATION_RESULT IDataDistributionTransport::Stop ( unsigned long timeout)
pure virtual

Start the transport subsystem.

timeout the operation timeout in milliseconds

Returns
the OPERATION_RESULT of the operation

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