add onSessionReady event -> user session is ready
This commit is contained in:
@@ -179,6 +179,13 @@ class ProxyClient(rdp.RDPClientObserver):
|
||||
#maybe color depth change
|
||||
self._server._controller.setColorDepth(self._controller.getColorDepth())
|
||||
|
||||
def onSessionReady(self):
|
||||
"""
|
||||
@summary: Windows session is ready
|
||||
@see: rdp.RDPClientObserver.onSessionReady
|
||||
"""
|
||||
pass
|
||||
|
||||
def onClose(self):
|
||||
"""
|
||||
@summary: Event inform that stack is close
|
||||
|
||||
@@ -136,6 +136,13 @@ class RDPScreenShotFactory(rdp.ClientFactory):
|
||||
"""
|
||||
log.info("connected %s"%addr)
|
||||
|
||||
def onSessionReady(self):
|
||||
"""
|
||||
@summary: Windows session is ready
|
||||
@see: rdp.RDPClientObserver.onSessionReady
|
||||
"""
|
||||
pass
|
||||
|
||||
def onClose(self):
|
||||
"""
|
||||
@summary: callback use when RDP stack is closed
|
||||
|
||||
Reference in New Issue
Block a user