Psyllid
v1.12.4
Project 8 Data Acquisisition Software
|
A producer to receive UDP packets via the standard socket interface and write them as raw blocks of memory. More...
#include <packet_receiver_socket.hh>
Public Member Functions | |
packet_receiver_socket () | |
virtual | ~packet_receiver_socket () |
mv_accessible (uint64_t, length) | |
mv_accessible (uint32_t, max_packet_size) | |
mv_accessible (uint32_t, port) | |
mv_referrable (std::string, ip) | |
mv_accessible (unsigned, timeout_sec) | |
virtual void | initialize () |
Timeout in seconds for waiting on socket recv function. More... | |
virtual void | execute (midge::diptera *a_midge=nullptr) |
virtual void | finalize () |
Protected Attributes | |
int | f_last_errno |
Private Member Functions | |
void | cleanup_socket () |
Private Attributes | |
int | f_socket |
sockaddr_in * | f_address |
A producer to receive UDP packets via the standard socket interface and write them as raw blocks of memory.
Parameter setting is not thread-safe. Executing is thread-safe.
Node type: "packet-receiver-socket"
Available configuration values:
Output Streams:
Definition at line 49 of file packet_receiver_socket.hh.
Definition at line 34 of file packet_receiver_socket.cc.
|
virtual |
Definition at line 46 of file packet_receiver_socket.cc.
|
private |
Definition at line 207 of file packet_receiver_socket.cc.
|
virtual |
Definition at line 113 of file packet_receiver_socket.cc.
|
virtual |
Definition at line 198 of file packet_receiver_socket.cc.
|
virtual |
Timeout in seconds for waiting on socket recv function.
Definition at line 51 of file packet_receiver_socket.cc.
mv_accessible | ( | uint64_t | , |
length | |||
) |
mv_accessible | ( | uint32_t | , |
max_packet_size | |||
) |
mv_accessible | ( | uint32_t | , |
port | |||
) |
mv_accessible | ( | unsigned | , |
timeout_sec | |||
) |
mv_referrable | ( | std::string | , |
ip | |||
) |
|
private |
Definition at line 71 of file packet_receiver_socket.hh.
|
protected |
Definition at line 74 of file packet_receiver_socket.hh.
|
private |
Definition at line 70 of file packet_receiver_socket.hh.