예제 #1
0
 def setMobileServiceProxyIp(self, proxyIp):
     if isinstance(proxyIp, str):
         ret, ip = str2intip(proxyIp)
         if not ret:
             raise YYPException("Invalid ip str %s" % proxyIp)
         proxyIp = ip
     self.mobileServiceProxyIp = proxyIp
예제 #2
0
 def setMobileServiceProxyIp(self, proxyIp):
     if isinstance(proxyIp, str):
         ret, ip = str2intip(proxyIp)
         if not ret:
             raise YYPException("Invalid ip str %s" % proxyIp)
         proxyIp = ip
     self.mobileServiceProxyIp = proxyIp
예제 #3
0
 def setMobileUserIp(self, userIp):
     if isinstance(userIp, str):
         ret, ip = str2intip(userIp)
         if not ret:
             raise YYPException("Invalid ip str %s" % userIp)
         userIp = ip
     self.mobileUserIp = userIp
예제 #4
0
 def setMobileUserIp(self, userIp):
     if isinstance(userIp, str):
         ret, ip = str2intip(userIp)
         if not ret:
             raise YYPException("Invalid ip str %s" % userIp)
         userIp = ip
     self.mobileUserIp = userIp