Documentation ¶
Overview ¶
Package connectionmanager is a generated ConnectionManager package.
Index ¶
- Constants
- type CurrentConnectionIDs
- type GetCurrentConnectionIDsArgs
- type GetCurrentConnectionIDsResponse
- type GetCurrentConnectionInfoArgs
- type GetCurrentConnectionInfoResponse
- type GetProtocolInfoArgs
- type GetProtocolInfoResponse
- type Property
- type Service
- func (s *Service) Client() *http.Client
- func (s *Service) ControlEndpoint() *url.URL
- func (s *Service) EventEndpoint() *url.URL
- func (s *Service) GetCurrentConnectionIDs(args *GetCurrentConnectionIDsArgs) (*GetCurrentConnectionIDsResponse, error)
- func (s *Service) GetCurrentConnectionInfo(args *GetCurrentConnectionInfoArgs) (*GetCurrentConnectionInfoResponse, error)
- func (s *Service) GetProtocolInfo(args *GetProtocolInfoArgs) (*GetProtocolInfoResponse, error)
- func (s *Service) Location() *url.URL
- func (zp *Service) ParseEvent(body []byte) []interface{}
- type ServiceOption
- type SinkProtocolInfo
- type SourceProtocolInfo
- type UpnpEvent
Constants ¶
View Source
const ( ServiceURN = "urn:schemas-upnp-org:service:ConnectionManager:1" EncodingSchema = "http://schemas.xmlsoap.org/soap/encoding/" EnvelopeSchema = "http://schemas.xmlsoap.org/soap/envelope/" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CurrentConnectionIDs ¶
type CurrentConnectionIDs string
type GetCurrentConnectionIDsArgs ¶
type GetCurrentConnectionIDsArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
type GetCurrentConnectionIDsResponse ¶
type GetCurrentConnectionIDsResponse struct {
ConnectionIDs string `xml:"ConnectionIDs"`
}
type GetCurrentConnectionInfoResponse ¶
type GetCurrentConnectionInfoResponse struct { RcsID int32 `xml:"RcsID"` AVTransportID int32 `xml:"AVTransportID"` ProtocolInfo string `xml:"ProtocolInfo"` PeerConnectionManager string `xml:"PeerConnectionManager"` PeerConnectionID int32 `xml:"PeerConnectionID"` Direction string `xml:"Direction"` Status string `xml:"Status"` }
type GetProtocolInfoArgs ¶
type GetProtocolInfoArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
type GetProtocolInfoResponse ¶
type Property ¶
type Property struct { XMLName xml.Name `xml:"property"` SourceProtocolInfo *SourceProtocolInfo `xml:"SourceProtocolInfo"` SinkProtocolInfo *SinkProtocolInfo `xml:"SinkProtocolInfo"` CurrentConnectionIDs *CurrentConnectionIDs `xml:"CurrentConnectionIDs"` }
type Service ¶
type Service struct { SourceProtocolInfo *SourceProtocolInfo SinkProtocolInfo *SinkProtocolInfo CurrentConnectionIDs *CurrentConnectionIDs // contains filtered or unexported fields }
func NewService ¶
func NewService(opts ...ServiceOption) *Service
func (*Service) ControlEndpoint ¶
func (*Service) EventEndpoint ¶
func (*Service) GetCurrentConnectionIDs ¶
func (s *Service) GetCurrentConnectionIDs(args *GetCurrentConnectionIDsArgs) (*GetCurrentConnectionIDsResponse, error)
func (*Service) GetCurrentConnectionInfo ¶
func (s *Service) GetCurrentConnectionInfo(args *GetCurrentConnectionInfoArgs) (*GetCurrentConnectionInfoResponse, error)
func (*Service) GetProtocolInfo ¶
func (s *Service) GetProtocolInfo(args *GetProtocolInfoArgs) (*GetProtocolInfoResponse, error)
func (*Service) ParseEvent ¶
type ServiceOption ¶
type ServiceOption func(*Service)
func WithClient ¶
func WithClient(c *http.Client) ServiceOption
func WithLocation ¶
func WithLocation(u *url.URL) ServiceOption
type SinkProtocolInfo ¶
type SinkProtocolInfo string
type SourceProtocolInfo ¶
type SourceProtocolInfo string
Click to show internal directories.
Click to hide internal directories.