Exemplo n.º 1
0
 // Invoke the ReceivedMessage event
 protected virtual void OnReceivedMessage(OscMessageEventArgs e)
 {
     if (ReceivedMessage != null)
     {
         ReceivedMessage(this, e);
     }
 }
Exemplo n.º 2
0
 void oscReceiver_ReceivedMessage(object sender, OscMessageEventArgs e)
 {
     if (topic == null || e.Message.Address.StartsWith(topic))
     {
         T packet = packetConverter.FromOscBundle(new OscBundle(OscBundle.TIMESTAMP_NOW, e.Message), topic);
         if (packet != null)
         {
             OnReceivedPacket(packet);
         }
     }
 }
Exemplo n.º 3
0
 // Invoke the ReceivedMessage event
 protected virtual void OnReceivedMessage(OscMessageEventArgs e)
 {
     if (ReceivedMessage != null) { ReceivedMessage(this, e); }
 }