#include <OnixS/CME/ConflatedUDP/Feed.h>
Definition at line 60 of file Feed.h.
Initializes the instance.
Definition at line 92 of file Feed.h.
ONIXS_CONFLATEDUDP_EXPORTED bool connect |
( |
UInt32 |
| ) |
|
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 154 of file Feed.h.
Connection attributes (read-only access).
Definition at line 162 of file Feed.h.
An instance of data consumer associated with the given feed if available.
Definition at line 242 of file Feed.h.
Binds the given consumer to the feed.
Definition at line 249 of file Feed.h.
ONIXS_CONFLATEDUDP_EXPORTED bool disconnect |
( |
| ) |
|
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 176 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 189 of file Feed.h.
Identifier associated with feed.
Definition at line 112 of file Feed.h.
Assigns identifier.
Definition at line 119 of file Feed.h.
Associates the given link with the feed.
Definition at line 263 of file Feed.h.
Binds the given listener to the feed.
Definition at line 229 of file Feed.h.
const TimeSpan& receiveTimeout |
( |
| ) |
const |
|
inline |
Maximal time interval between two packets transmitted.
Definition at line 203 of file Feed.h.
void receiveTimeout |
( |
UInt32 |
timeInterval | ) |
|
|
inline |
Updates time interval between two packets transmitted.
Definition at line 210 of file Feed.h.
Role in a service (primary, secondary).
Definition at line 140 of file Feed.h.
Assigns feed service role.
Definition at line 147 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 308 of file Feed.h.
Indicates current state.
Definition at line 222 of file Feed.h.
Type of service (incremental, instrument, etc).
Definition at line 126 of file Feed.h.
Assigns feed service type.
Definition at line 133 of file Feed.h.
The documentation for this class was generated from the following file:
- include/OnixS/CME/ConflatedUDP/Feed.h