예제 #1
0
 // Invoke the ReceivedMessage event
 protected virtual void OnReceivedMessage(OscMessageEventArgs e)
 {
     if (ReceivedMessage != null)
     {
         ReceivedMessage(this, e);
     }
 }
예제 #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);
         }
     }
 }
예제 #3
0
 // Invoke the ReceivedMessage event
 protected virtual void OnReceivedMessage(OscMessageEventArgs e)
 {
     if (ReceivedMessage != null) { ReceivedMessage(this, e); }
 }