2 # Component is a SfaServer that implements the Component interface
9 from sfa.server.sfaserver import SfaServer
11 # GeniLight client support is optional
13 from egeni.geniLight_client import *
15 GeniClientLight = None
18 # Component is a SfaServer that serves component operations.
20 class Component(SfaServer):
22 # Create a new registry object.
24 # @param ip the ip address to listen on
25 # @param port the port to listen on
26 # @param key_file private key filename of registry
27 # @param cert_file certificate filename containing public key (could be a GID file)
29 def __init__(self, ip, port, key_file, cert_file):
30 SfaServer.__init__(self, ip, port, key_file, cert_file, interface='component')