react-native-udp/ios/UdpSockets.h
Andy Prock e8050d3fe8 Fixes #15
Refactor the UdpSockets module _clients array to be a member variable.
Make the UdpSocketClient's delegate a weak reference.
remove reload notificaiton, and rely on dealloc to close all open sockets.
2015-12-21 19:45:38 -08:00

20 lines
418 B
Objective-C

//
// RCTUDP.h
// react-native-udp
//
// Created by Mark Vayngrib on 5/8/15.
// Copyright (c) 2015 Tradle, Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <Availability.h>
#import "GCDAsyncUdpSocket.h"
#import "UdpSocketClient.h"
#import "RCTBridgeModule.h"
#import "RCTBridge.h"
#import "RCTEventDispatcher.h"
@interface UdpSockets : NSObject<SocketClientDelegate, RCTBridgeModule>
@end