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