UPnP-ConnectionManager 1.0
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +1 -0
- data/History.txt +5 -0
- data/Manifest.txt +5 -0
- data/README.txt +58 -0
- data/Rakefile +14 -0
- data/lib/UPnP/service/connection_manager.rb +53 -0
- metadata +101 -0
- metadata.gz.sig +0 -0
data.tar.gz.sig
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
8�5�IN�הpb�;�� ��<`uN$�iiĹ��k�5�8���C��Fe��`�y8����mru@�/@F���AFLj��ۊ2�~��� �('F�&,���0w�aR����k�դ�3o��9���#R�%�
|
data/History.txt
ADDED
data/Manifest.txt
ADDED
data/README.txt
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
= UPnP-ConnectionManager
|
2
|
+
|
3
|
+
* http://seattlerb.org/UPnP-ConnectionManager
|
4
|
+
* http://upnp.org
|
5
|
+
* Bugs: http://rubyforge.org/tracker/?func=add&group_id=1513&atid=5921
|
6
|
+
|
7
|
+
== DESCRIPTION:
|
8
|
+
|
9
|
+
Stub implementation for a UPnP ConnectionManager service. Currently has no
|
10
|
+
implementation. Works great for a PlayStation 3.
|
11
|
+
|
12
|
+
== FEATURES/PROBLEMS:
|
13
|
+
|
14
|
+
* Not an actual implementation
|
15
|
+
|
16
|
+
== SYNOPSIS:
|
17
|
+
|
18
|
+
In a UPnP::Device::create block:
|
19
|
+
|
20
|
+
your_device.add_service 'ConnectionManager'
|
21
|
+
|
22
|
+
== REQUIREMENTS:
|
23
|
+
|
24
|
+
* A UPnP control point
|
25
|
+
|
26
|
+
== INSTALL:
|
27
|
+
|
28
|
+
sudo gem install UPnP-ConnectionManager
|
29
|
+
|
30
|
+
== LICENSE:
|
31
|
+
|
32
|
+
Copyright 2008 Eric Hodel. All rights reserved.
|
33
|
+
|
34
|
+
Redistribution and use in source and binary forms, with or without
|
35
|
+
modification, are permitted provided that the following conditions
|
36
|
+
are met:
|
37
|
+
|
38
|
+
1. Redistributions of source code must retain the above copyright
|
39
|
+
notice, this list of conditions and the following disclaimer.
|
40
|
+
2. Redistributions in binary form must reproduce the above copyright
|
41
|
+
notice, this list of conditions and the following disclaimer in the
|
42
|
+
documentation and/or other materials provided with the distribution.
|
43
|
+
3. Neither the names of the authors nor the names of their contributors
|
44
|
+
may be used to endorse or promote products derived from this software
|
45
|
+
without specific prior written permission.
|
46
|
+
|
47
|
+
THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
|
48
|
+
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
49
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
50
|
+
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE
|
51
|
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
|
52
|
+
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
53
|
+
OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
54
|
+
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
55
|
+
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
56
|
+
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
57
|
+
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
58
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
# -*- ruby -*-
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
require 'hoe'
|
5
|
+
require './lib/UPnP/service/connection_manager'
|
6
|
+
|
7
|
+
Hoe.new 'UPnP-ConnectionManager', UPnP::Service::ConnectionManager::VERSION do |p|
|
8
|
+
p.rubyforge_name = 'seattlerb'
|
9
|
+
p.developer 'Eric Hodel', 'drbrain@segment7.net'
|
10
|
+
|
11
|
+
p.extra_deps << ['UPnP', '>= 1.1.0']
|
12
|
+
end
|
13
|
+
|
14
|
+
# vim: syntax=Ruby
|
@@ -0,0 +1,53 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'UPnP/service'
|
3
|
+
|
4
|
+
class UPnP::Service::ConnectionManager < UPnP::Service
|
5
|
+
|
6
|
+
VERSION = '1.0'
|
7
|
+
|
8
|
+
add_action 'GetProtocolInfo',
|
9
|
+
[OUT, 'Source', 'SourceProtocolInfo'],
|
10
|
+
[OUT, 'Sink', 'SinkProtocolInfo']
|
11
|
+
|
12
|
+
add_action 'PrepareForConnection',
|
13
|
+
[IN, 'RemoteProtocolInfo', 'A_ARG_TYPE_ProtocolInfo'],
|
14
|
+
[IN, 'PeerConnectionManager', 'A_ARG_TYPE_ConnectionManager'],
|
15
|
+
[IN, 'PeerConnectionID', 'A_ARG_TYPE_ConnectionID'],
|
16
|
+
[IN, 'Direction', 'A_ARG_TYPE_Direction'],
|
17
|
+
|
18
|
+
[OUT, 'ConnectionID', 'A_ARG_TYPE_ConnectionID'],
|
19
|
+
[OUT, 'AVTransportID', 'A_ARG_TYPE_AVTransportID'],
|
20
|
+
[OUT, 'RcsID', 'A_ARG_TYPE_RcsID']
|
21
|
+
|
22
|
+
add_action 'ConnectionComplete',
|
23
|
+
[IN, 'ConnectionID', 'A_ARG_TYPE_ConnectionID']
|
24
|
+
|
25
|
+
add_action 'GetCurrentConnectionIDs',
|
26
|
+
[OUT, 'ConnectionIDs', 'CurrentConnectionIDs']
|
27
|
+
|
28
|
+
add_action 'GetCurrentConnectionInfo',
|
29
|
+
[IN, 'ConnectionID', 'A_ARG_TYPE_ConnectionID'],
|
30
|
+
|
31
|
+
[OUT, 'RcsID', 'A_ARG_TYPE_RcsID'],
|
32
|
+
[OUT, 'AVTransportID', 'A_ARG_TYPE_AVTransportID'],
|
33
|
+
[OUT, 'ProtocolInfo', 'A_ARG_TYPE_ProtocolInfo'],
|
34
|
+
[OUT, 'PeerConnectionManager', 'A_ARG_TYPE_ConnectionManager'],
|
35
|
+
[OUT, 'PeerConnectionID', 'A_ARG_TYPE_ConnectionID'],
|
36
|
+
[OUT, 'Direction', 'A_ARG_TYPE_Direction'],
|
37
|
+
[OUT, 'Status', 'A_ARG_TYPE_ConnectionStatus']
|
38
|
+
|
39
|
+
add_variable 'SourceProtocolInfo', 'string', nil, nil, true
|
40
|
+
add_variable 'SinkProtocolInfo', 'string', nil, nil, true
|
41
|
+
add_variable 'CurrentConnectionIDs', 'string', nil, nil, true
|
42
|
+
add_variable 'A_ARG_TYPE_ConnectionStatus', 'string',
|
43
|
+
%w[OK ContentFormatMismatch InsufficientBandwidth
|
44
|
+
UnreliableChannel Unknown]
|
45
|
+
add_variable 'A_ARG_TYPE_ConnectionManager', 'string'
|
46
|
+
add_variable 'A_ARG_TYPE_Direction', 'string', %w[Output Input]
|
47
|
+
add_variable 'A_ARG_TYPE_ProtocolInfo', 'string'
|
48
|
+
add_variable 'A_ARG_TYPE_ConnectionID', 'i4'
|
49
|
+
add_variable 'A_ARG_TYPE_AVTransportID', 'i4'
|
50
|
+
add_variable 'A_ARG_TYPE_RcsID', 'i4'
|
51
|
+
|
52
|
+
end
|
53
|
+
|
metadata
ADDED
@@ -0,0 +1,101 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: UPnP-ConnectionManager
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: "1.0"
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Eric Hodel
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDNjCCAh6gAwIBAgIBADANBgkqhkiG9w0BAQUFADBBMRAwDgYDVQQDDAdkcmJy
|
14
|
+
YWluMRgwFgYKCZImiZPyLGQBGRYIc2VnbWVudDcxEzARBgoJkiaJk/IsZAEZFgNu
|
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ibjjDJTSMWlUKKkj30kq7hlUC2CepJ4v
|
30
|
+
x52qPcexcYZR7w==
|
31
|
+
-----END CERTIFICATE-----
|
32
|
+
|
33
|
+
date: 2008-07-23 00:00:00 -07:00
|
34
|
+
default_executable:
|
35
|
+
dependencies:
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: UPnP
|
38
|
+
type: :runtime
|
39
|
+
version_requirement:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 1.1.0
|
45
|
+
version:
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: hoe
|
48
|
+
type: :development
|
49
|
+
version_requirement:
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.7.0
|
55
|
+
version:
|
56
|
+
description: Stub implementation for a UPnP ConnectionManager service. Currently has no implementation. Works great for a PlayStation 3.
|
57
|
+
email:
|
58
|
+
- drbrain@segment7.net
|
59
|
+
executables: []
|
60
|
+
|
61
|
+
extensions: []
|
62
|
+
|
63
|
+
extra_rdoc_files:
|
64
|
+
- History.txt
|
65
|
+
- Manifest.txt
|
66
|
+
- README.txt
|
67
|
+
files:
|
68
|
+
- History.txt
|
69
|
+
- Manifest.txt
|
70
|
+
- README.txt
|
71
|
+
- Rakefile
|
72
|
+
- lib/UPnP/service/connection_manager.rb
|
73
|
+
has_rdoc: true
|
74
|
+
homepage: http://seattlerb.org/UPnP-ConnectionManager
|
75
|
+
post_install_message:
|
76
|
+
rdoc_options:
|
77
|
+
- --main
|
78
|
+
- README.txt
|
79
|
+
require_paths:
|
80
|
+
- lib
|
81
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
82
|
+
requirements:
|
83
|
+
- - ">="
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: "0"
|
86
|
+
version:
|
87
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: "0"
|
92
|
+
version:
|
93
|
+
requirements: []
|
94
|
+
|
95
|
+
rubyforge_project: seattlerb
|
96
|
+
rubygems_version: 1.2.0
|
97
|
+
signing_key:
|
98
|
+
specification_version: 2
|
99
|
+
summary: Stub implementation for a UPnP ConnectionManager service
|
100
|
+
test_files: []
|
101
|
+
|
metadata.gz.sig
ADDED
Binary file
|