xorp

XrlMfeaClientV0p1Client Class Reference

List of all members.

Public Types

typedef XorpCallback1< void,
const XrlError & >::RefPtr 
RecvKernelSignalMessage4CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
RecvDataflowSignal4CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
RecvKernelSignalMessage6CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
RecvDataflowSignal6CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
RecvKernelSignalMessage4CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
RecvDataflowSignal4CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
RecvKernelSignalMessage6CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
RecvDataflowSignal6CB

Public Member Functions

 XrlMfeaClientV0p1Client (XrlSender *s)
bool send_recv_kernel_signal_message4 (const char *dst_xrl_target_name, const string &xrl_sender_name, const uint32_t &message_type, const string &vif_name, const uint32_t &vif_index, const IPv4 &source_address, const IPv4 &dest_address, const vector< uint8_t > &protocol_message, const RecvKernelSignalMessage4CB &cb)
 Send Xrl intended to:
bool send_recv_dataflow_signal4 (const char *dst_xrl_target_name, const string &xrl_sender_name, const IPv4 &source_address, const IPv4 &group_address, const uint32_t &threshold_interval_sec, const uint32_t &threshold_interval_usec, const uint32_t &measured_interval_sec, const uint32_t &measured_interval_usec, const uint32_t &threshold_packets, const uint32_t &threshold_bytes, const uint32_t &measured_packets, const uint32_t &measured_bytes, const bool &is_threshold_in_packets, const bool &is_threshold_in_bytes, const bool &is_geq_upcall, const bool &is_leq_upcall, const RecvDataflowSignal4CB &cb)
 Send Xrl intended to:
bool send_recv_kernel_signal_message6 (const char *dst_xrl_target_name, const string &xrl_sender_name, const uint32_t &message_type, const string &vif_name, const uint32_t &vif_index, const IPv6 &source_address, const IPv6 &dest_address, const vector< uint8_t > &protocol_message, const RecvKernelSignalMessage6CB &cb)
bool send_recv_dataflow_signal6 (const char *dst_xrl_target_name, const string &xrl_sender_name, const IPv6 &source_address, const IPv6 &group_address, const uint32_t &threshold_interval_sec, const uint32_t &threshold_interval_usec, const uint32_t &measured_interval_sec, const uint32_t &measured_interval_usec, const uint32_t &threshold_packets, const uint32_t &threshold_bytes, const uint32_t &measured_packets, const uint32_t &measured_bytes, const bool &is_threshold_in_packets, const bool &is_threshold_in_bytes, const bool &is_geq_upcall, const bool &is_leq_upcall, const RecvDataflowSignal6CB &cb)
 XrlMfeaClientV0p1Client (XrlSender *s)
bool send_recv_kernel_signal_message4 (const char *dst_xrl_target_name, const string &xrl_sender_name, const uint32_t &message_type, const string &vif_name, const uint32_t &vif_index, const IPv4 &source_address, const IPv4 &dest_address, const vector< uint8_t > &protocol_message, const RecvKernelSignalMessage4CB &cb)
 Send Xrl intended to:
bool send_recv_dataflow_signal4 (const char *dst_xrl_target_name, const string &xrl_sender_name, const IPv4 &source_address, const IPv4 &group_address, const uint32_t &threshold_interval_sec, const uint32_t &threshold_interval_usec, const uint32_t &measured_interval_sec, const uint32_t &measured_interval_usec, const uint32_t &threshold_packets, const uint32_t &threshold_bytes, const uint32_t &measured_packets, const uint32_t &measured_bytes, const bool &is_threshold_in_packets, const bool &is_threshold_in_bytes, const bool &is_geq_upcall, const bool &is_leq_upcall, const RecvDataflowSignal4CB &cb)
 Send Xrl intended to:
bool send_recv_kernel_signal_message6 (const char *dst_xrl_target_name, const string &xrl_sender_name, const uint32_t &message_type, const string &vif_name, const uint32_t &vif_index, const IPv6 &source_address, const IPv6 &dest_address, const vector< uint8_t > &protocol_message, const RecvKernelSignalMessage6CB &cb)
bool send_recv_dataflow_signal6 (const char *dst_xrl_target_name, const string &xrl_sender_name, const IPv6 &source_address, const IPv6 &group_address, const uint32_t &threshold_interval_sec, const uint32_t &threshold_interval_usec, const uint32_t &measured_interval_sec, const uint32_t &measured_interval_usec, const uint32_t &threshold_packets, const uint32_t &threshold_bytes, const uint32_t &measured_packets, const uint32_t &measured_bytes, const bool &is_threshold_in_packets, const bool &is_threshold_in_bytes, const bool &is_geq_upcall, const bool &is_leq_upcall, const RecvDataflowSignal6CB &cb)

Protected Attributes

XrlSender_sender

Static Private Member Functions

static void unmarshall_recv_kernel_signal_message4 (const XrlError &e, XrlArgs *a, RecvKernelSignalMessage4CB cb)
static void unmarshall_recv_dataflow_signal4 (const XrlError &e, XrlArgs *a, RecvDataflowSignal4CB cb)
static void unmarshall_recv_kernel_signal_message6 (const XrlError &e, XrlArgs *a, RecvKernelSignalMessage6CB cb)
static void unmarshall_recv_dataflow_signal6 (const XrlError &e, XrlArgs *a, RecvDataflowSignal6CB cb)
static void unmarshall_recv_kernel_signal_message4 (const XrlError &e, XrlArgs *a, RecvKernelSignalMessage4CB cb)
static void unmarshall_recv_dataflow_signal4 (const XrlError &e, XrlArgs *a, RecvDataflowSignal4CB cb)
static void unmarshall_recv_kernel_signal_message6 (const XrlError &e, XrlArgs *a, RecvKernelSignalMessage6CB cb)
static void unmarshall_recv_dataflow_signal6 (const XrlError &e, XrlArgs *a, RecvDataflowSignal6CB cb)

Private Attributes

auto_ptr< Xrlap_xrl_recv_kernel_signal_message4
auto_ptr< Xrlap_xrl_recv_dataflow_signal4
auto_ptr< Xrlap_xrl_recv_kernel_signal_message6
auto_ptr< Xrlap_xrl_recv_dataflow_signal6

Member Function Documentation

bool XrlMfeaClientV0p1Client::send_recv_dataflow_signal4 ( const char *  dst_xrl_target_name,
const string &  xrl_sender_name,
const IPv4 source_address,
const IPv4 group_address,
const uint32_t &  threshold_interval_sec,
const uint32_t &  threshold_interval_usec,
const uint32_t &  measured_interval_sec,
const uint32_t &  measured_interval_usec,
const uint32_t &  threshold_packets,
const uint32_t &  threshold_bytes,
const uint32_t &  measured_packets,
const uint32_t &  measured_bytes,
const bool &  is_threshold_in_packets,
const bool &  is_threshold_in_bytes,
const bool &  is_geq_upcall,
const bool &  is_leq_upcall,
const RecvDataflowSignal4CB &  cb 
)

Send Xrl intended to:

A signal that a dataflow-related pre-condition is true.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
xrl_sender_namethe XRL name of the originator of this XRL.
source_addressthe source address of the dataflow.
group_addressthe group address of the dataflow.
threshold_interval_secthe number of seconds in the interval requested for measurement.
threshold_interval_usecthe number of microseconds in the interval requested for measurement.
measured_interval_secthe number of seconds in the last measured interval that has triggered the signal.
measured_interval_usecthe number of microseconds in the last measured interval that has triggered the signal.
threshold_packetsthe threshold value to trigger a signal (in number of packets).
threshold_bytesthe threshold value to trigger a signal (in bytes).
measured_packetsthe number of packets measured within the measured interval.
measured_bytesthe number of bytes measured within the measured interval.
is_threshold_in_packetsif true, threshold_packets is valid.
is_threshold_in_bytesif true, threshold_bytes is valid.
is_geq_upcallif true, the operation for comparison is ">=".
is_leq_upcallif true, the operation for comparison is "<=".
bool XrlMfeaClientV0p1Client::send_recv_dataflow_signal4 ( const char *  dst_xrl_target_name,
const string &  xrl_sender_name,
const IPv4 source_address,
const IPv4 group_address,
const uint32_t &  threshold_interval_sec,
const uint32_t &  threshold_interval_usec,
const uint32_t &  measured_interval_sec,
const uint32_t &  measured_interval_usec,
const uint32_t &  threshold_packets,
const uint32_t &  threshold_bytes,
const uint32_t &  measured_packets,
const uint32_t &  measured_bytes,
const bool &  is_threshold_in_packets,
const bool &  is_threshold_in_bytes,
const bool &  is_geq_upcall,
const bool &  is_leq_upcall,
const RecvDataflowSignal4CB &  cb 
)

Send Xrl intended to:

A signal that a dataflow-related pre-condition is true.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
xrl_sender_namethe XRL name of the originator of this XRL.
source_addressthe source address of the dataflow.
group_addressthe group address of the dataflow.
threshold_interval_secthe number of seconds in the interval requested for measurement.
threshold_interval_usecthe number of microseconds in the interval requested for measurement.
measured_interval_secthe number of seconds in the last measured interval that has triggered the signal.
measured_interval_usecthe number of microseconds in the last measured interval that has triggered the signal.
threshold_packetsthe threshold value to trigger a signal (in number of packets).
threshold_bytesthe threshold value to trigger a signal (in bytes).
measured_packetsthe number of packets measured within the measured interval.
measured_bytesthe number of bytes measured within the measured interval.
is_threshold_in_packetsif true, threshold_packets is valid.
is_threshold_in_bytesif true, threshold_bytes is valid.
is_geq_upcallif true, the operation for comparison is ">=".
is_leq_upcallif true, the operation for comparison is "<=".
bool XrlMfeaClientV0p1Client::send_recv_kernel_signal_message4 ( const char *  dst_xrl_target_name,
const string &  xrl_sender_name,
const uint32_t &  message_type,
const string &  vif_name,
const uint32_t &  vif_index,
const IPv4 source_address,
const IPv4 dest_address,
const vector< uint8_t > &  protocol_message,
const RecvKernelSignalMessage4CB &  cb 
)

Send Xrl intended to:

Receive a kernel signal message from the MFEA.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
xrl_sender_namethe XRL name of the originator of this XRL. (both sides must agree on the particular values).
message_typethe type of the kernel signal message (TODO: integer for now: the particular types are well-known by both sides).
vif_namethe name of the vif the message was received on.
vif_indexthe index of the vif the message was received on.
source_addressthe address of the sender.
dest_addressthe destination address.
protocol_messagethe protocol message.
bool XrlMfeaClientV0p1Client::send_recv_kernel_signal_message4 ( const char *  dst_xrl_target_name,
const string &  xrl_sender_name,
const uint32_t &  message_type,
const string &  vif_name,
const uint32_t &  vif_index,
const IPv4 source_address,
const IPv4 dest_address,
const vector< uint8_t > &  protocol_message,
const RecvKernelSignalMessage4CB &  cb 
)

Send Xrl intended to:

Receive a kernel signal message from the MFEA.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
xrl_sender_namethe XRL name of the originator of this XRL. (both sides must agree on the particular values).
message_typethe type of the kernel signal message (TODO: integer for now: the particular types are well-known by both sides).
vif_namethe name of the vif the message was received on.
vif_indexthe index of the vif the message was received on.
source_addressthe address of the sender.
dest_addressthe destination address.
protocol_messagethe protocol message.

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations