|
| TypeLookupRequestWriter (const DCPS::GUID_t &pub_id, Sedp &sedp, ACE_INT64 seq_init=1) |
|
virtual | ~TypeLookupRequestWriter () |
|
bool | send_type_lookup_request (const XTypes::TypeIdentifierSeq &type_ids, const DCPS::GUID_t &reader, const DCPS::SequenceNumber &rpc_sequence, CORBA::Long tl_kind) |
|
| Writer (const DCPS::GUID_t &pub_id, Sedp &sedp, ACE_INT64 seq_init=1) |
|
virtual | ~Writer () |
|
bool | assoc (const DCPS::AssociationData &subscription) |
|
void | transport_assoc_done (int flags, const DCPS::GUID_t &remote) |
|
void | data_delivered (const DCPS::DataSampleElement *) |
|
void | data_dropped (const DCPS::DataSampleElement *, bool by_transport) |
|
void | data_acked (const GUID_t &remote) |
|
void | control_delivered (const DCPS::Message_Block_Ptr &sample) |
|
void | control_dropped (const DCPS::Message_Block_Ptr &sample, bool dropped_by_transport) |
|
void | notify_publication_disconnected (const DCPS::ReaderIdSeq &) |
|
void | notify_publication_reconnected (const DCPS::ReaderIdSeq &) |
|
void | notify_publication_lost (const DCPS::ReaderIdSeq &) |
|
void | remove_associations (const DCPS::ReaderIdSeq &, bool) |
|
void | replay_durable_data_for (const DCPS::GUID_t &remote_sub_id) |
|
void | retrieve_inline_qos_data (InlineQosData &) const |
|
const DCPS::SequenceNumber & | get_seq () const |
|
DDS::ReturnCode_t | write_parameter_list (const ParameterList &plist, const DCPS::GUID_t &reader, DCPS::SequenceNumber &sequence) |
|
void | end_historic_samples (const DCPS::GUID_t &reader) |
|
void | request_ack (const DCPS::GUID_t &reader) |
|
void | send_deferred_samples (const GUID_t &reader) |
|
virtual | ~TransportSendListener () |
|
virtual SendControlStatus | send_control_customized (const DataLinkSet_rch &links, const DataSampleHeader &header, ACE_Message_Block *msg, void *extra) |
|
virtual void | transport_discovery_change () |
|
virtual | ~RcObject () |
|
virtual void | _add_ref () |
|
virtual void | _remove_ref () |
|
long | ref_count () const |
|
WeakObject * | _get_weak_object () const |
|
| Endpoint (const DCPS::GUID_t &repo_id, Sedp &sedp) |
|
virtual | ~Endpoint () |
|
bool | check_transport_qos (const DCPS::TransportInst &) |
|
DCPS::GUID_t | get_guid () const |
|
DDS::DomainId_t | domain_id () const |
|
CORBA::Long | get_priority_value (const DCPS::AssociationData &) const |
|
void | set_crypto_handles (DDS::Security::ParticipantCryptoHandle p, DDS::Security::NativeCryptoHandle e=DDS::HANDLE_NIL) |
|
DDS::Security::ParticipantCryptoHandle | get_crypto_handle () const |
|
DDS::Security::NativeCryptoHandle | get_endpoint_crypto_handle () const |
|
void | shutting_down () |
|
OPENDDS_STRING | get_instance_name (const DCPS::GUID_t &id) const |
|
EntityId_t | counterpart_entity_id () const |
|
GUID_t | make_counterpart_guid (const DCPS::GUID_t &remote_part) const |
|
bool | associated_with_counterpart (const DCPS::GUID_t &remote_part) const |
|
bool | pending_association_with_counterpart (const DCPS::GUID_t &remote_part) const |
|
bool | associated_with_counterpart_if_not_pending (const DCPS::GUID_t &remote_part) const |
|
RcHandle< DCPS::BitSubscriber > | get_builtin_subscriber_proxy () const |
|
void | use_datalink (const GUID_t &remote_id, const DataLink_rch &link) |
|
| TransportClient () |
|
virtual | ~TransportClient () |
|
void | enable_transport (bool reliable, bool durable) |
|
void | enable_transport_using_config (bool reliable, bool durable, const TransportConfig_rch &tc) |
|
bool | swap_bytes () const |
|
bool | cdr_encapsulation () const |
|
const TransportLocatorSeq & | connection_info () const |
|
void | populate_connection_info () |
|
bool | is_reliable () const |
|
bool | associate (const AssociationData &peer, bool active) |
|
void | disassociate (const GUID_t &peerId) |
|
void | stop_associating () |
|
void | stop_associating (const GUID_t *repos, CORBA::ULong length) |
|
void | send_final_acks () |
|
void | transport_stop () |
|
void | register_for_reader (const GUID_t &participant, const GUID_t &writerid, const GUID_t &readerid, const TransportLocatorSeq &locators, OpenDDS::DCPS::DiscoveryListener *listener) |
|
void | unregister_for_reader (const GUID_t &participant, const GUID_t &writerid, const GUID_t &readerid) |
|
void | register_for_writer (const GUID_t &participant, const GUID_t &readerid, const GUID_t &writerid, const TransportLocatorSeq &locators, DiscoveryListener *listener) |
|
void | unregister_for_writer (const GUID_t &participant, const GUID_t &readerid, const GUID_t &writerid) |
|
void | update_locators (const GUID_t &remote, const TransportLocatorSeq &locators) |
|
WeakRcHandle< ICE::Endpoint > | get_ice_endpoint () |
|
bool | send_response (const GUID_t &peer, const DataSampleHeader &header, Message_Block_Ptr payload) |
|
void | send (SendStateDataSampleList send_list, ACE_UINT64 transaction_id=0) |
|
SendControlStatus | send_w_control (SendStateDataSampleList send_list, const DataSampleHeader &header, Message_Block_Ptr msg, const GUID_t &destination) |
|
SendControlStatus | send_control (const DataSampleHeader &header, Message_Block_Ptr msg) |
|
SendControlStatus | send_control_to (const DataSampleHeader &header, Message_Block_Ptr msg, const GUID_t &destination) |
|
bool | remove_sample (const DataSampleElement *sample) |
|
bool | remove_all_msgs () |
|
virtual void | add_link (const DataLink_rch &link, const GUID_t &peer) |
|
void | terminate_send_if_suspended () |
|
bool | associated_with (const GUID_t &remote) const |
|
bool | pending_association_with (const GUID_t &remote) const |
|
GUID_t | repo_id () const |
|
void | data_acked (const GUID_t &remote) |
|
bool | is_leading (const GUID_t &reader_id) const |
|
Definition at line 563 of file Sedp.h.
Definition at line 3627 of file Sedp.cpp.
References ACE_DEBUG, ACE_ERROR, ACE_Message_Block::cont(), OpenDDS::XTypes::TypeLookup_Request::data, OpenDDS::DCPS::DCPS_debug_level, OpenDDS::DCPS::FINAL, OpenDDS::RTPS::Sedp::Endpoint::get_guid(), OpenDDS::RTPS::Sedp::Endpoint::get_instance_name(), OpenDDS::DCPS::DataSampleHeader::get_max_serialized_size(), OpenDDS::RTPS::Spdp::get_participant_discovered_at(), OpenDDS::XTypes::TypeLookup_Call::getTypeDependencies, OpenDDS::XTypes::TypeLookup_Call::getTypes, OpenDDS::DCPS::SequenceNumber::getValue(), OpenDDS::XTypes::TypeLookup_Request::header, LM_DEBUG, LM_ERROR, OpenDDS::DCPS::log_progress(), ACE_Message_Block::MB_DATA, OpenDDS::DCPS::move(), DDS::RPC::RequestHeader::requestId, OpenDDS::RTPS::Sedp::Endpoint::sedp_, OpenDDS::RTPS::Sedp::Writer::send_sample(), OpenDDS::RTPS::Sedp::Writer::seq_, DDS::SampleIdentity::sequence_number, OpenDDS::DCPS::serialized_size(), OpenDDS::DCPS::EncapsulationHeader::serialized_size, OpenDDS::RTPS::Sedp::spdp_, OpenDDS::RTPS::to_rtps_seqnum(), OpenDDS::DCPS::transport_debug, OpenDDS::RTPS::Sedp::type_lookup_reply_reader_, OpenDDS::XTypes::TypeLookup_getDependencies_HashId, OpenDDS::XTypes::TypeLookup_getTypes_HashId, and DDS::SampleIdentity::writer_guid.
3634 ACE_DEBUG((LM_DEBUG,
"(%P|%t) Sedp::TypeLookupRequestWriter::send_type_lookup_request: " 3635 "to %C seq: %q\n", DCPS::LogGuid(reader).c_str(), rpc_sequence.getValue()));
3645 "Sedp::TypeLookupRequestWriter::send_type_lookup_request: tl_kind is %u\n",
3651 XTypes::TypeLookup_Request type_lookup_request;
3652 type_lookup_request.header.requestId.writer_guid =
get_guid();
3653 type_lookup_request.header.requestId.sequence_number =
to_rtps_seqnum(rpc_sequence);
3657 XTypes::TypeLookup_getTypes_In types;
3658 types.type_ids = type_ids;
3659 type_lookup_request.data.getTypes(types);
3661 XTypes::TypeLookup_getTypeDependencies_In typeDependencies;
3662 typeDependencies.type_ids = type_ids;
3664 typeDependencies.continuation_point);
3665 type_lookup_request.data.getTypeDependencies(typeDependencies);
3678 Serializer serializer(payload->cont(), type_lookup_encoding);
3679 DCPS::EncapsulationHeader encap;
3680 bool success =
true;
3681 if (encap.from_encoding(serializer.encoding(),
DCPS::FINAL) &&
3682 serializer << encap && serializer << type_lookup_request) {
3683 DCPS::SequenceNumber sn(
seq_++);
3688 "Sedp::TypeLookupRequestWriter::send_type_lookup_request: serialization failed\n"));
DCPS::GUID_t get_guid() const
OpenDDS_Dcps_Export TransportDebug transport_debug
T::rv_reference move(T &p)
void serialized_size(const Encoding &encoding, size_t &size, const SequenceNumber &)
void OpenDDS_Dcps_Export log_progress(const char *activity, const GUID_t &local, const GUID_t &remote, const MonotonicTime_t &start_time, const GUID_t &reference)
const long TypeLookup_getTypes_HashId
TypeLookupReplyReader_rch type_lookup_reply_reader_
static size_t get_max_serialized_size()
Similar to IDL compiler generated methods.
const long TypeLookup_getDependencies_HashId
OPENDDS_STRING get_instance_name(const DCPS::GUID_t &id) const
unique_ptr< ACE_Message_Block, Message_Block_Deleter > Message_Block_Ptr
DCPS::MonotonicTime_t get_participant_discovered_at() const
OpenDDS_Dcps_Export unsigned int DCPS_debug_level
RTPS::SequenceNumber_t to_rtps_seqnum(const DCPS::SequenceNumber &opendds_seqnum)
void send_sample(DCPS::Message_Block_Ptr payload, size_t size, const DCPS::GUID_t &reader, DCPS::SequenceNumber &sequence, bool historic=false)
static const size_t serialized_size
DCPS::SequenceNumber seq_