NetworkServiceHandler.h 520 B

12345678910111213141516171819202122232425262728
  1. //
  2. // NetworkServiceHandler.h
  3. // SmartCity
  4. //
  5. // Created by Jason Lee on 2/15/16.
  6. // Copyright © 2016 ntels. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @protocol NetworkServiceHandlerDelegate <NSObject>
  10. @optional
  11. - (void)didSucceedPublishService;
  12. - (void)didFailPublishService:(id)errorInfo;
  13. @end
  14. @interface NetworkServiceHandler : NSObject
  15. @property (weak, nonatomic) id <NetworkServiceHandlerDelegate> delegate;
  16. + (NetworkServiceHandler *)handler;
  17. - (BOOL)startSearchBonjourServices;
  18. @end