Exemplo n.º 1
0
 public DvX_MS_MediaReceiverRegistrar()
 {
     _S = new _DvX_MS_MediaReceiverRegistrar(this);
     _S.GetUPnPService().GetStateVariableObject("AuthorizationDeniedUpdateID").OnModified    += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_AuthorizationDeniedUpdateID);
     _S.GetUPnPService().GetStateVariableObject("A_ARG_TYPE_DeviceID").OnModified            += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_A_ARG_TYPE_DeviceID);
     _S.GetUPnPService().GetStateVariableObject("A_ARG_TYPE_RegistrationRespMsg").OnModified += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_A_ARG_TYPE_RegistrationRespMsg);
     _S.GetUPnPService().GetStateVariableObject("ValidationRevokedUpdateID").OnModified      += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_ValidationRevokedUpdateID);
     _S.GetUPnPService().GetStateVariableObject("ValidationSucceededUpdateID").OnModified    += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_ValidationSucceededUpdateID);
     _S.GetUPnPService().GetStateVariableObject("A_ARG_TYPE_Result").OnModified             += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_A_ARG_TYPE_Result);
     _S.GetUPnPService().GetStateVariableObject("AuthorizationGrantedUpdateID").OnModified  += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_AuthorizationGrantedUpdateID);
     _S.GetUPnPService().GetStateVariableObject("A_ARG_TYPE_RegistrationReqMsg").OnModified += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_A_ARG_TYPE_RegistrationReqMsg);
     _S.Sink_IsAuthorized   = new Delegate_IsAuthorized(IsAuthorized);
     _S.Sink_IsValidated    = new Delegate_IsValidated(IsValidated);
     _S.Sink_RegisterDevice = new Delegate_RegisterDevice(RegisterDevice);
 }
Exemplo n.º 2
0
 public void RemoveStateVariable_AuthorizationDeniedUpdateID()
 {
     _S.GetUPnPService().RemoveStateVariable(_S.GetUPnPService().GetStateVariableObject("AuthorizationDeniedUpdateID"));
 }
Exemplo n.º 3
0
 public DvX_MS_MediaReceiverRegistrar()
 {
     _S = new _DvX_MS_MediaReceiverRegistrar(this);
     _S.GetUPnPService().GetStateVariableObject("AuthorizationDeniedUpdateID").OnModified += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_AuthorizationDeniedUpdateID);
     _S.GetUPnPService().GetStateVariableObject("A_ARG_TYPE_DeviceID").OnModified += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_A_ARG_TYPE_DeviceID);
     _S.GetUPnPService().GetStateVariableObject("A_ARG_TYPE_RegistrationRespMsg").OnModified += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_A_ARG_TYPE_RegistrationRespMsg);
     _S.GetUPnPService().GetStateVariableObject("ValidationRevokedUpdateID").OnModified += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_ValidationRevokedUpdateID);
     _S.GetUPnPService().GetStateVariableObject("ValidationSucceededUpdateID").OnModified += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_ValidationSucceededUpdateID);
     _S.GetUPnPService().GetStateVariableObject("A_ARG_TYPE_Result").OnModified += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_A_ARG_TYPE_Result);
     _S.GetUPnPService().GetStateVariableObject("AuthorizationGrantedUpdateID").OnModified += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_AuthorizationGrantedUpdateID);
     _S.GetUPnPService().GetStateVariableObject("A_ARG_TYPE_RegistrationReqMsg").OnModified += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_A_ARG_TYPE_RegistrationReqMsg);
     _S.Sink_IsAuthorized = new Delegate_IsAuthorized(IsAuthorized);
     _S.Sink_IsValidated = new Delegate_IsValidated(IsValidated);
     _S.Sink_RegisterDevice = new Delegate_RegisterDevice(RegisterDevice);
 }