示例#1
0
 def openShell(self, trans):
     ap = AgentProtocol()
     ap.makeConnection(trans)
     trans.makeConnection(session.wrapProtocol(ap))
示例#2
0
 def execCommand(self, proto, cmd):
     ap = AgentProtocol()
     ap.makeConnection(proto)
     proto.makeConnection(session.wrapProtocol(ap))