コード例 #1
0
 public DvConnectionManager()
 {
     _S = new _DvConnectionManager(this);
     _S.GetUPnPService().GetStateVariableObject("A_ARG_TYPE_ConnectionStatus").OnModified  += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_A_ARG_TYPE_ConnectionStatus);
     _S.GetUPnPService().GetStateVariableObject("A_ARG_TYPE_ConnectionID").OnModified      += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_A_ARG_TYPE_ConnectionID);
     _S.GetUPnPService().GetStateVariableObject("A_ARG_TYPE_AVTransportID").OnModified     += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_A_ARG_TYPE_AVTransportID);
     _S.GetUPnPService().GetStateVariableObject("A_ARG_TYPE_RcsID").OnModified             += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_A_ARG_TYPE_RcsID);
     _S.GetUPnPService().GetStateVariableObject("SourceProtocolInfo").OnModified           += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_SourceProtocolInfo);
     _S.GetUPnPService().GetStateVariableObject("SinkProtocolInfo").OnModified             += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_SinkProtocolInfo);
     _S.GetUPnPService().GetStateVariableObject("A_ARG_TYPE_ProtocolInfo").OnModified      += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_A_ARG_TYPE_ProtocolInfo);
     _S.GetUPnPService().GetStateVariableObject("A_ARG_TYPE_ConnectionManager").OnModified += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_A_ARG_TYPE_ConnectionManager);
     _S.GetUPnPService().GetStateVariableObject("A_ARG_TYPE_Direction").OnModified         += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_A_ARG_TYPE_Direction);
     _S.GetUPnPService().GetStateVariableObject("CurrentConnectionIDs").OnModified         += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_CurrentConnectionIDs);
     _S.Sink_GetCurrentConnectionIDs  = new Delegate_GetCurrentConnectionIDs(GetCurrentConnectionIDs);
     _S.Sink_GetCurrentConnectionInfo = new Delegate_GetCurrentConnectionInfo(GetCurrentConnectionInfo);
     _S.Sink_GetProtocolInfo          = new Delegate_GetProtocolInfo(GetProtocolInfo);
 }
コード例 #2
0
 public DvConnectionManager()
 {
     _S = new _DvConnectionManager(this);
     _S.GetUPnPService().GetStateVariableObject("A_ARG_TYPE_ConnectionStatus").OnModified += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_A_ARG_TYPE_ConnectionStatus);
     _S.GetUPnPService().GetStateVariableObject("A_ARG_TYPE_ConnectionID").OnModified += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_A_ARG_TYPE_ConnectionID);
     _S.GetUPnPService().GetStateVariableObject("A_ARG_TYPE_Direction").OnModified += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_A_ARG_TYPE_Direction);
     _S.GetUPnPService().GetStateVariableObject("A_ARG_TYPE_RcsID").OnModified += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_A_ARG_TYPE_RcsID);
     _S.GetUPnPService().GetStateVariableObject("SourceProtocolInfo").OnModified += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_SourceProtocolInfo);
     _S.GetUPnPService().GetStateVariableObject("SinkProtocolInfo").OnModified += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_SinkProtocolInfo);
     _S.GetUPnPService().GetStateVariableObject("A_ARG_TYPE_ProtocolInfo").OnModified += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_A_ARG_TYPE_ProtocolInfo);
     _S.GetUPnPService().GetStateVariableObject("A_ARG_TYPE_ConnectionManager").OnModified += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_A_ARG_TYPE_ConnectionManager);
     _S.GetUPnPService().GetStateVariableObject("A_ARG_TYPE_AVTransportID").OnModified += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_A_ARG_TYPE_AVTransportID);
     _S.GetUPnPService().GetStateVariableObject("CurrentConnectionIDs").OnModified += new UPnPStateVariable.ModifiedHandler(OnModifiedSink_CurrentConnectionIDs);
     _S.Sink_GetCurrentConnectionIDs = new Delegate_GetCurrentConnectionIDs(GetCurrentConnectionIDs);
     _S.Sink_GetCurrentConnectionInfo = new Delegate_GetCurrentConnectionInfo(GetCurrentConnectionInfo);
     _S.Sink_GetProtocolInfo = new Delegate_GetProtocolInfo(GetProtocolInfo);
 }
コード例 #3
0
 public void RemoveStateVariable_A_ARG_TYPE_ConnectionStatus()
 {
     _S.GetUPnPService().RemoveStateVariable(_S.GetUPnPService().GetStateVariableObject("A_ARG_TYPE_ConnectionStatus"));
 }
 public void RemoveStateVariable_A_ARG_TYPE_ProtocolInfo()
 {
     _S.GetUPnPService().RemoveStateVariable(_S.GetUPnPService().GetStateVariableObject("A_ARG_TYPE_ProtocolInfo"));
 }