예제 #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))