39 "resetting with %B bytes remaining\n",
this, this->
pdu_remaining()), 4);
53 return socket.
recv(iov, n, remote_address);
88 ACE_TEXT(
"MulticastReceiveStrategy::start_i: ")
89 ACE_TEXT(
"NULL reactor reference!\n")),
96 ACE_TEXT(
"MulticastReceiveStrategy::start_i: ")
97 ACE_TEXT(
"failed to register handler for DataLink!\n")),
111 ACE_TEXT(
"MulticastReceiveStrategy::stop_i: ")
112 ACE_TEXT(
"NULL reactor reference!\n")));
virtual bool check_header(const TransportHeader &header)
Check the transport header for suitability.
virtual ssize_t receive_bytes(iovec iov[], int n, ACE_INET_Addr &remote_address, ACE_HANDLE fd, bool &stop)
Only our subclass knows how to do this.
virtual int start_i()
Let the subclass start.
ssize_t recv(void *buf, size_t n, ACE_Addr &addr, int flags=0) const
ACE_SOCK_Dgram_Mcast & socket()
size_t pdu_remaining() const
virtual ACE_HANDLE get_handle() const
ACE_HANDLE socket(int protocol_family, int type, int proto)
int register_handler(ACE_Event_Handler *event_handler, ACE_Reactor_Mask mask)
int remove_handler(ACE_HANDLE handle, ACE_Reactor_Mask masks)
virtual void deliver_sample(ReceivedDataSample &sample, const ACE_INET_Addr &remote_address)
Called when there is a ReceivedDataSample to be delivered.
Christopher Diggins *renamed files *fixing compilation errors *adding Visual C project file *removed make Max Lybbert *removed references to missing and unused header
Holds a data sample received by the transport.
const TransportHeader & received_header() const
MulticastReceiveStrategy(MulticastDataLink *link)
Defines class that represents a transport packet header.
virtual bool reassemble(ReceivedDataSample &data)
ACE_HANDLE get_handle(void) const
virtual ACE_Reactor * reactor(void) const
ACE_Reactor * get_reactor()
MulticastDataLink * link_
bool check_header(const TransportHeader &header)
int handle_dds_input(ACE_HANDLE fd)
#define VDBG_LVL(DBG_ARGS, LEVEL)
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
#define ACE_ERROR_RETURN(X, Y)
virtual int handle_input(ACE_HANDLE fd)
#define TheServiceParticipant
bool reassemble(ReceivedDataSample &data, const TransportHeader &header)
The Internal API and Implementation of OpenDDS.
virtual void stop_i()
Let the subclass stop.
void sample_received(ReceivedDataSample &sample)