63 Atomic<NetFeedState::Enum>
105 NetFeedState::Disconnected);
178 return expirationTime_;
205 return receiveTimeout_;
224 return AtomicState::read(state_);
234 NetFeedState::Disconnected);
236 listener_ = &listener;
254 NetFeedState::Disconnected);
256 assert(NULL == link_);
258 consumer_ = &consumer;
268 NetFeedState::Disconnected);
313 assert(NULL != link_);
NetFeedConnection & connection()
Connection attributes (overload for modifications).
Defines possible states for the feeds.
Enum
Defines possible states for the feeds.
Enum
Feed types based on type of market data service.
void id(const NetFeedId &id)
Assigns identifier.
#define ONIXS_CONFLATEDUDP_LTWT_EXPORTED
void consumer(NetFeedConsumer &consumer)
Binds the given consumer to the feed.
const TimeSpan & receiveTimeout() const
Maximal time interval between two packets transmitted.
Enum
List of known feed roles.
Base attributes of market data feed.
#define ONIXS_CONFLATEDUDP_EXPORTED_STRUCT_DECL(typeName)
void type(NetFeedType::Enum type)
Assigns feed service type.
const NetFeedConnection & connection() const
Connection attributes (read-only access).
virtual void send(const NetFeed &, const void *, size_t, UInt32)=0
#define ONIXS_CONFLATEDUDP_EXPORTED_CLASS_DECL(typeName)
virtual void release(const NetFeed &)=0
void link(NetFeedLink &link)
Associates the given link with the feed.
#define ONIXS_CONFLATEDUDP_LTWT_STRUCT
void listener(NetFeedListener &listener)
Binds the given listener to the feed.
const NetFeedId & id() const
Identifier associated with feed.
NetFeedType::Enum type() const
Type of service (incremental, instrument, etc).
void expirationTime(UInt32 expirationTime)
std::string NetFeedId
The feed identifier.
#define ONIXS_CONFLATEDUDP_NAMESPACE_END
NetFeedState::Enum state() const
Indicates current state.
void receiveTimeout(UInt32 timeInterval)
Updates time interval between two packets transmitted.
void sendMessage(const void *message, size_t length, UInt32 timeout)
NetFeedRole::Enum role() const
Role in a service (primary, secondary).
#define ONIXS_CONFLATEDUDP_LTWT_CLASS
void role(NetFeedRole::Enum role)
Assigns feed service role.
#define ONIXS_CONFLATEDUDP_NAMESPACE_BEGIN
Network feed connection attributes.
NetFeedConsumer * consumer() const
NetFeed()
Initializes the instance.
const TimeSpan & expirationTime() const