OSDN Git Service

You can now pass an NSMutableData object
[syncr/master.git] / CocoaAsyncSocket / CocoaAsyncSocket-5.6 / EchoServer / AppController.h
diff --git a/CocoaAsyncSocket/CocoaAsyncSocket-5.6/EchoServer/AppController.h b/CocoaAsyncSocket/CocoaAsyncSocket-5.6/EchoServer/AppController.h
new file mode 100644 (file)
index 0000000..b884955
--- /dev/null
@@ -0,0 +1,17 @@
+#import <Cocoa/Cocoa.h>
+
+@class AsyncSocket;
+
+@interface AppController : NSObject
+{
+       AsyncSocket *listenSocket;
+       NSMutableArray *connectedSockets;
+       
+       BOOL isRunning;
+       
+    IBOutlet id logView;
+    IBOutlet id portField;
+    IBOutlet id startStopButton;
+}
+- (IBAction)startStop:(id)sender;
+@end