Permalink
Browse files

Broadcast the message path

  • Loading branch information...
1 parent 122a135 commit 0d29500f7b6cb2701b021c74110b50db0ba337f5 Jonathan del Strother committed Sep 10, 2009
Showing with 4 additions and 1 deletion.
  1. +1 −0 BBOSCPluginReceiver.h
  2. +3 −1 BBOSCPluginReceiver.m
View
@@ -23,4 +23,5 @@
@property (nonatomic, readwrite, assign) NSUInteger inputReceivingPort;
@property (nonatomic, readwrite, assign) NSString* inputReceivingPath;
@property (nonatomic, readwrite, assign) BOOL outputMessageReceived;
+@property (nonatomic, readwrite, assign) NSString* outputMessagePath;
@end
View
@@ -24,7 +24,7 @@ @interface BBOSCPluginReceiver ()
@end
@implementation BBOSCPluginReceiver
-@dynamic inputReceivingPort, inputReceivingPath, outputMessageReceived;
+@dynamic inputReceivingPort, inputReceivingPath, outputMessageReceived, outputMessagePath;
@synthesize oscManager, oscPort, oscParameters, listeningPath;
+ (NSDictionary*) attributes
@@ -213,6 +213,8 @@ Return NO in case of failure during the execution (this will prevent rendering o
[self setValue:outputValue forOutputKey:portKey];
}
+
+ self.outputMessagePath = [message address];
[messages removeObjectAtIndex:0];
}

0 comments on commit 0d29500

Please sign in to comment.