Exemple #1
0
 def __init__(self, transport=Subprocess()):
     """
     Constructor for the WSMan class.
     
     @param transport: The L{transport} instance that will handle WSMan requests.  (default=L{Subprocess}) 
     @type transport: L{transport} 
     """
     
     # Store the transport
     self.__transport = transport
     
     # Provider
     self.__provider = WSManProviderFactory(self.__transport).get_provider()