CoAP/coapthon/resources/remoteResource.py

12 lines
508 B
Python
Raw Normal View History

2018-01-23 11:31:46 +01:00
from coapthon.resources.resource import Resource
__author__ = 'Giacomo Tanganelli'
class RemoteResource(Resource):
def __init__(self, name, remote_server, remote_path, coap_server=None, visible=True, observable=True, allow_children=True):
super(RemoteResource, self).__init__(name, coap_server, visible=visible, observable=observable,
allow_children=allow_children)
self.remote_path = remote_path
self.remote_server = remote_server