|  |  | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     void register(ParentPlatform parentPlatform, SipSubscribe.Event errorEvent , SipSubscribe.Event okEvent) throws InvalidArgumentException, ParseException, SipException; | 
 |  |  |     void register(ParentPlatform parentPlatform, String callId, WWWAuthenticateHeader www, SipSubscribe.Event errorEvent , SipSubscribe.Event okEvent, boolean registerAgain, boolean isRegister) throws SipException, InvalidArgumentException, ParseException; | 
 |  |  |  | 
 |  |  |     void register(ParentPlatform parentPlatform, SipTransactionInfo sipTransactionInfo, SipSubscribe.Event errorEvent , SipSubscribe.Event okEvent) throws InvalidArgumentException, ParseException, SipException; | 
 |  |  |     void register(ParentPlatform parentPlatform, SipTransactionInfo sipTransactionInfo, WWWAuthenticateHeader www, SipSubscribe.Event errorEvent , SipSubscribe.Event okEvent, boolean isRegister) throws SipException, InvalidArgumentException, ParseException; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 向上级平台注销 | 
 |  |  |      * @param parentPlatform | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     void unregister(ParentPlatform parentPlatform, SipSubscribe.Event errorEvent , SipSubscribe.Event okEvent) throws InvalidArgumentException, ParseException, SipException; | 
 |  |  |     void unregister(ParentPlatform parentPlatform, SipTransactionInfo sipTransactionInfo, SipSubscribe.Event errorEvent , SipSubscribe.Event okEvent) throws InvalidArgumentException, ParseException, SipException; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 向上级回复DeviceInfo查询信息 | 
 |  |  |      * @param parentPlatform 平台信息 | 
 |  |  |      * @param sn | 
 |  |  |      * @param fromTag | 
 |  |  |      * @param sn SN | 
 |  |  |      * @param fromTag FROM头的tag信息 | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     void deviceInfoResponse(ParentPlatform parentPlatform, String sn, String fromTag) throws SipException, InvalidArgumentException, ParseException; | 
 |  |  |     void deviceInfoResponse(ParentPlatform parentPlatform,Device device, String sn, String fromTag) throws SipException, InvalidArgumentException, ParseException; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 向上级回复DeviceStatus查询信息 | 
 |  |  | 
 |  |  |      * @param fromTag | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     void deviceStatusResponse(ParentPlatform parentPlatform,String channelId, String sn, String fromTag,int status) throws SipException, InvalidArgumentException, ParseException; | 
 |  |  |     void deviceStatusResponse(ParentPlatform parentPlatform,String channelId, String sn, String fromTag,boolean status) throws SipException, InvalidArgumentException, ParseException; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 向上级回复移动位置订阅消息 |