X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fnepi%2Fresources%2Fns3%2Fns3client.py;h=0133f74f43bee2f47629899cf4f4df1958423505;hb=e55924b6886bd7382a28e1ae235c4810f852e163;hp=e3a203bdb96751d4dcb26a3fe9656e21afe9709f;hpb=e0dd7383a1241e77ba32efa6e6a3cec573b3757d;p=nepi.git diff --git a/src/nepi/resources/ns3/ns3client.py b/src/nepi/resources/ns3/ns3client.py index e3a203bd..0133f74f 100644 --- a/src/nepi/resources/ns3/ns3client.py +++ b/src/nepi/resources/ns3/ns3client.py @@ -3,9 +3,8 @@ # Copyright (C) 2014 INRIA # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation; # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -22,27 +21,30 @@ class NS3Client(object): def __init__(self): super(NS3Client, self).__init__() - def create(self, clazzname, *args): + def create(self, *args, **kwargs): pass - def invoke(self, uuid, operation, *args): + def factory(self, *args, **kwargs): pass - def set(self, uuid, name, value): + def invoke(self, *args, **kwargs): pass - def get(self, uuid, name): + def set(self, *args, **kwargs): pass - def trace(self, *args): + def get(self, *args, **kwargs): pass - def start(self): + def flush(self, *args, **kwargs): pass - def stop(self, time = None): + def start(self, *args, **kwargs): pass - def shutdown(self): + def stop(self, *args, **kwargs): + pass + + def shutdown(self, *args, **kwargs): pass