示例#1
0
 public void send_xbs_node_message_high_prio(xbs_node_message msg)
 {
     lock (out_msgs_high_prio)
         out_msgs_high_prio.Enqueue(msg);
     lock (_locker_out)
         Monitor.PulseAll(_locker_out);
 }
示例#2
0
 public void sendNodeMessageHighPrio(xbs_node_message msg)
 {
     if (xbs_udp_listener.getInstance() != null)
     {
         xbs_udp_listener.getInstance().send_xbs_node_message_high_prio(msg);
         statistics.sentPacket(msg.getMessageByteArraySize());
     }
 }
示例#3
0
 public void send_xbs_node_message(xbs_node_message msg)
 {
     if (node_list.local_node != null)
     {
         if (msg.receiver.Equals(node_list.local_node))
         {
             return;
         }
     }
     lock (out_msgs)
         out_msgs.Enqueue(msg);
     lock (_locker_out)
         Monitor.PulseAll(_locker_out);
 }
示例#4
0
 public void send_xbs_node_message_high_prio(xbs_node_message msg)
 {
     lock (out_msgs_high_prio)
         out_msgs_high_prio.Enqueue(msg);
     lock (_locker_out)
         Monitor.PulseAll(_locker_out);
 }
示例#5
0
 public void send_xbs_node_message(xbs_node_message msg)
 {
     if (node_list.local_node != null)
         if (msg.receiver.Equals(node_list.local_node))
             return;
     lock (out_msgs)
         out_msgs.Enqueue(msg);
     lock (_locker_out)
         Monitor.PulseAll(_locker_out);
 }
示例#6
0
文件: xbs_node.cs 项目: Ch0wW/XBSlink
 public void sendNodeMessageHighPrio(xbs_node_message msg)
 {
     if (xbs_udp_listener.getInstance() != null)
     {
         xbs_udp_listener.getInstance().send_xbs_node_message_high_prio(msg);
         statistics.sentPacket(msg.getMessageByteArraySize());
     }
 }