mirror of
https://github.com/purplecabbage/phonegap-plugins.git
synced 2026-01-15 01:08:17 -05:00
28 lines
602 B
Objective-C
28 lines
602 B
Objective-C
//
|
|
// PGSocket
|
|
//
|
|
//
|
|
// Created by Jesse MacFadyen on 10-05-29.
|
|
// Copyright 2010 Nitobi. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#ifdef PHONEGAP_FRAMEWORK
|
|
#import <PhoneGap/PGPlugin.h>
|
|
#else
|
|
#import "PGPlugin.h"
|
|
#endif
|
|
#import "AsyncSocket.h"
|
|
|
|
|
|
@interface GapSocketCommand : PGPlugin {
|
|
|
|
NSMutableArray *connectedSockets;
|
|
}
|
|
|
|
- (void) connect:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
- (void) close:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
- (void) send:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
|
|
@end
|