#include <OnixS/CME/MDH/Feed.h>
Definition at line 54 of file Feed.h.
Initializes the instance.
Definition at line 58 of file Feed.h.
Bring the given instance to the connected state.
Feed must be fully configured and a valid instance of the NetFeedLink bound to the feed. Otherwise, an exception will be thrown.
Returns 'true' if the feed was connected. 'False' is returned if the feed wasn't in the disconnected state at the moment of invocation.
Connection attributes (overload for modifications).
Definition at line 111 of file Feed.h.
Connection attributes (read-only access).
Definition at line 117 of file Feed.h.
An instance of data consumer associated with the given feed if available.
Definition at line 174 of file Feed.h.
Binds the given consumer to the feed.
Definition at line 180 of file Feed.h.
Instructs the feed to stop delivering packets to the associated consumer.
Returns 'true' if the feed was disconnected. 'False' is returned if the feed wasn't previously connected of was in the process of disconnecting.
const TimeSpan& expirationTime |
( |
| ) |
const |
|
inline |
Life time for the feed.
If defined, the given time defines time period during which the feed may receive the incoming data and deliver it to the associate consumer. After that, the feed stop receiving the data while staying in the connected state.
Definition at line 129 of file Feed.h.
void expirationTime |
( |
UInt32 |
expirationTime | ) |
|
|
inline |
Defines life time for the feed in seconds.
The given attribute defines time period during which the feed may receive the incoming data and deliver it to the associate consumer. After that, the feed stop receiving the data while staying in the connected state.
Definition at line 141 of file Feed.h.
Identifier associated with feed.
Definition at line 75 of file Feed.h.
Assigns identifier.
Definition at line 81 of file Feed.h.
Associates the given link with the feed.
Definition at line 190 of file Feed.h.
Binds the given listener to the feed.
Definition at line 165 of file Feed.h.
const TimeSpan& receiveTimeout |
( |
| ) |
const |
|
inline |
Maximal time interval between two packets transmitted.
Definition at line 147 of file Feed.h.
void receiveTimeout |
( |
UInt32 |
timeInterval | ) |
|
|
inline |
Updates time interval between two packets transmitted.
Definition at line 153 of file Feed.h.
Role in a service (primary, secondary).
Definition at line 99 of file Feed.h.
Assigns feed service role.
Definition at line 105 of file Feed.h.
void sendMessage |
( |
const void * |
message, |
|
|
size_t |
length, |
|
|
UInt32 |
timeout |
|
) |
| |
|
inline |
Send the given message to the source from which the feed receives data and delivers to the associated consumer.
- Exceptions
-
the | exception if the operation is not supported or the given message can't be delivered to the destination. |
Definition at line 228 of file Feed.h.
Indicates current state.
Definition at line 159 of file Feed.h.
Type of service (incremental, instrument, etc).
Definition at line 87 of file Feed.h.
Assigns feed service type.
Definition at line 93 of file Feed.h.
The documentation for this class was generated from the following file: