SocketMsgModel.h 562 B

12345678910111213141516171819202122232425262728
  1. //
  2. // SocketMsgModel.h
  3. // OneCable
  4. //
  5. // Created by KaRam Kim on 2017. 4. 20..
  6. // Copyright © 2017년 ntels. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "JDJSONModel.h"
  10. #define MSG_TYPE_LOGIN @"auth"
  11. #define MSG_TYPE_DEVICE_ALIVE @"device.alive"
  12. #define MSG_TYPE_AUTO_LOGIN @"auth.auto"
  13. @interface SocketRequestModel : SocketModel
  14. @property (copy, nonatomic) NSDictionary *requestMsg;
  15. //-(void)setRequestId:(int)requestId;
  16. -(NSString *)getSendMessage;
  17. -(id)initWithMsgType:(NSString *)msgType;
  18. @end