diff --git a/setup.py b/setup.py index 073b524..12020ad 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -# Copyright 2017 SrMouraSilva +# Copyright 2018 SrMouraSilva # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/webservice_serial/__init__.py b/webservice_serial/__init__.py index e69de29..98a3ea2 100644 --- a/webservice_serial/__init__.py +++ b/webservice_serial/__init__.py @@ -0,0 +1,13 @@ +# Copyright 2018 SrMouraSilva +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. diff --git a/webservice_serial/protocol/__init__.py b/webservice_serial/protocol/__init__.py index e69de29..98a3ea2 100644 --- a/webservice_serial/protocol/__init__.py +++ b/webservice_serial/protocol/__init__.py @@ -0,0 +1,13 @@ +# Copyright 2018 SrMouraSilva +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. diff --git a/webservice_serial/protocol/message_builder.py b/webservice_serial/protocol/message_builder.py index 85e3820..be16d0c 100644 --- a/webservice_serial/protocol/message_builder.py +++ b/webservice_serial/protocol/message_builder.py @@ -1,3 +1,17 @@ +# Copyright 2018 SrMouraSilva +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import json from webservice_serial.protocol.request_message import RequestMessage diff --git a/webservice_serial/protocol/request_message.py b/webservice_serial/protocol/request_message.py index 534ff4d..acb5dfe 100644 --- a/webservice_serial/protocol/request_message.py +++ b/webservice_serial/protocol/request_message.py @@ -1,4 +1,16 @@ -from webservice_serial.protocol.request_verb import RequestVerb +# Copyright 2018 SrMouraSilva +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. class RequestMessage(object): diff --git a/webservice_serial/protocol/request_verb.py b/webservice_serial/protocol/request_verb.py index 6728006..5d19561 100644 --- a/webservice_serial/protocol/request_verb.py +++ b/webservice_serial/protocol/request_verb.py @@ -1,3 +1,17 @@ +# Copyright 2018 SrMouraSilva +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from enum import Enum diff --git a/webservice_serial/protocol/response_message.py b/webservice_serial/protocol/response_message.py index e64702f..9727b2b 100644 --- a/webservice_serial/protocol/response_message.py +++ b/webservice_serial/protocol/response_message.py @@ -1,3 +1,17 @@ +# Copyright 2018 SrMouraSilva +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import json diff --git a/webservice_serial/protocol/response_verb.py b/webservice_serial/protocol/response_verb.py index 203f828..f0e4bbc 100644 --- a/webservice_serial/protocol/response_verb.py +++ b/webservice_serial/protocol/response_verb.py @@ -1,3 +1,17 @@ +# Copyright 2018 SrMouraSilva +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from enum import Enum diff --git a/webservice_serial/request_message_processor.py b/webservice_serial/request_message_processor.py index f4c5cef..fd1ea77 100644 --- a/webservice_serial/request_message_processor.py +++ b/webservice_serial/request_message_processor.py @@ -1,3 +1,17 @@ +# Copyright 2018 SrMouraSilva +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from tornado.httpclient import HTTPRequest, AsyncHTTPClient, HTTPError from webservice_serial.protocol.request_verb import RequestVerb diff --git a/webservice_serial/target/__init__.py b/webservice_serial/target/__init__.py index e69de29..98a3ea2 100644 --- a/webservice_serial/target/__init__.py +++ b/webservice_serial/target/__init__.py @@ -0,0 +1,13 @@ +# Copyright 2018 SrMouraSilva +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. diff --git a/webservice_serial/target/android/__init__.py b/webservice_serial/target/android/__init__.py index e69de29..98a3ea2 100644 --- a/webservice_serial/target/android/__init__.py +++ b/webservice_serial/target/android/__init__.py @@ -0,0 +1,13 @@ +# Copyright 2018 SrMouraSilva +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. diff --git a/webservice_serial/target/android/adb.py b/webservice_serial/target/android/adb.py index 6065d2b..e82a57e 100644 --- a/webservice_serial/target/android/adb.py +++ b/webservice_serial/target/android/adb.py @@ -1,3 +1,17 @@ +# Copyright 2018 SrMouraSilva +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import os diff --git a/webservice_serial/target/android/android_display_view.py b/webservice_serial/target/android/android_display_view.py index d0be418..a5be431 100644 --- a/webservice_serial/target/android/android_display_view.py +++ b/webservice_serial/target/android/android_display_view.py @@ -1,3 +1,17 @@ +# Copyright 2018 SrMouraSilva +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from webservice_serial.target.target import Target from webservice_serial.target.android.adb import Adb diff --git a/webservice_serial/target/target.py b/webservice_serial/target/target.py index b706ba3..6078a4c 100644 --- a/webservice_serial/target/target.py +++ b/webservice_serial/target/target.py @@ -1,3 +1,18 @@ +# Copyright 2018 SrMouraSilva +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + class Target(object): def __init__(self): self.application = None diff --git a/webservice_serial/webservice_serial.py b/webservice_serial/webservice_serial.py index 0574f06..029f755 100644 --- a/webservice_serial/webservice_serial.py +++ b/webservice_serial/webservice_serial.py @@ -1,4 +1,16 @@ -from tornado.ioloop import IOLoop +# Copyright 2018 SrMouraSilva +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from application.component.component import Component diff --git a/webservice_serial/webservice_serial_client.py b/webservice_serial/webservice_serial_client.py index 5279961..bbb5139 100644 --- a/webservice_serial/webservice_serial_client.py +++ b/webservice_serial/webservice_serial_client.py @@ -1,3 +1,17 @@ +# Copyright 2018 SrMouraSilva +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from tornado import gen from tornado.ioloop import IOLoop from tornado.tcpclient import TCPClient diff --git a/webservice_serial/websocket_client.py b/webservice_serial/websocket_client.py index cb3788b..bc3a7ca 100644 --- a/webservice_serial/websocket_client.py +++ b/webservice_serial/websocket_client.py @@ -1,3 +1,17 @@ +# Copyright 2018 SrMouraSilva +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import json from tornado import gen