Added method getsession to CoreApi2Server
This commit is contained in:
parent
96af8a439c
commit
e45a83143f
1 changed files with 3 additions and 0 deletions
|
@ -1730,6 +1730,9 @@ class CoreApi2Server(SocketServer.ThreadingMixIn, SocketServer.TCPServer):
|
|||
print "api2 setsessionmaster", found
|
||||
return found
|
||||
|
||||
def getsession(self, sessionid = None, useexisting = True):
|
||||
return self.mainserver.getsession(sessionid, useexisting)
|
||||
|
||||
def tosessionmsg(self, flags = 0):
|
||||
return self.mainserver.tosessionmsg(flags)
|
||||
|
||||
|
|
Loading…
Reference in a new issue