71 link_->release(*
this);
131 return expirationTime_;
149 return receiveTimeout_;
161 return AtomicState::read(state_);
184 assert(
nullptr == link_);
230 assert(
nullptr != link_);
232 link_->send(*
this, message, length, timeout);
236 typedef Atomic<NetFeedState::Enum> AtomicState;
#define ONIXS_CMEMDH_NAMESPACE_BEGIN
#define ONIXS_CMEMDH_LTWT
#define ONIXS_CMEMDH_LTWT_EXPORTED
#define ONIXS_CMEMDH_EXPORTED_CLASS_DECL(typeName)
#define ONIXS_CMEMDH_NAMESPACE_END
#define ONIXS_CMEMDH_EXPORTED_STRUCT_DECL(typeName)
Network feed connection attributes.
virtual void release(const NetFeed &)=0
Base attributes of market data feed.
NetFeedConsumer * consumer() const
void type(NetFeedType::Enum type)
Assigns feed service type.
void role(NetFeedRole::Enum role)
Assigns feed service role.
void id(const NetFeedId &id)
Assigns identifier.
const NetFeedConnection & connection() const
Connection attributes (read-only access).
const Messaging::TimeSpan & expirationTime() const
void link(NetFeedLink &link)
Associates the given link with the feed.
NetFeedRole::Enum role() const
Role in a service (primary, secondary).
const Messaging::TimeSpan & receiveTimeout() const
Maximal time interval between two packets transmitted.
bool connect(Messaging::UInt32)
void expirationTime(Messaging::UInt32 expirationTime)
void consumer(NetFeedConsumer &consumer)
Binds the given consumer to the feed.
NetFeedConnection & connection()
Connection attributes (overload for modifications).
NetFeedState::Enum state() const
Indicates current state.
void sendMessage(const void *message, size_t length, Messaging::UInt32 timeout)
NetFeedType::Enum type() const
Type of service (incremental, instrument, etc).
const NetFeedId & id() const
Identifier associated with feed.
NetFeed()
Initializes the instance.
void receiveTimeout(Messaging::UInt32 timeInterval)
Updates time interval between two packets transmitted.
void listener(NetFeedListener &listener)
Binds the given listener to the feed.
std::uint32_t UInt32
uInt32.
std::string NetFeedId
Text identifier assigned to a network feed in the channel configuration.
Enum
Supported feed roles.
Defines possible states for the feeds.
Enum
Defines possible states for the feeds.
Enum
Supported market data feed services.