Added method getsession to CoreApi2Server

This commit is contained in:
Rod A Santiago 2016-08-22 15:22:25 -07:00
parent 96af8a439c
commit e45a83143f

View file

@ -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)