import time
import sys
-from sfa.server.componentserver import ComponentServer
-
+from sfa.server.sfaserver import SfaServer
+
# GeniLight client support is optional
try:
from egeni.geniLight_client import *
except ImportError:
- GeniClientLight = None
+ GeniClientLight = None
##
# Component is a SfaServer that serves component operations.
-class Component(ComponentServer):
+
+class Component(SfaServer):
##
# Create a new registry object.
#
# @param cert_file certificate filename containing public key (could be a GID file)
def __init__(self, ip, port, key_file, cert_file):
- ComponentServer.__init__(self, ip, port, key_file, cert_file)
- self.server.interface = 'component'
+ SfaServer.__init__(self, ip, port, key_file,
+ cert_file, interface='component')