You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Services_pb2_grpc.py 29 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603
  1. # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
  2. """Client and server classes corresponding to protobuf-defined services."""
  3. import grpc
  4. import Message2Clients_pb2 as Message2Clients__pb2
  5. import Message2Server_pb2 as Message2Server__pb2
  6. class AvailableServiceStub(object):
  7. """Missing associated documentation comment in .proto file."""
  8. def __init__(self, channel):
  9. """Constructor.
  10. Args:
  11. channel: A grpc.Channel.
  12. """
  13. self.TryConnection = channel.unary_unary(
  14. '/protobuf.AvailableService/TryConnection',
  15. request_serializer=Message2Server__pb2.IDMsg.SerializeToString,
  16. response_deserializer=Message2Clients__pb2.BoolRes.FromString,
  17. )
  18. self.AddPlayer = channel.unary_stream(
  19. '/protobuf.AvailableService/AddPlayer',
  20. request_serializer=Message2Server__pb2.PlayerMsg.SerializeToString,
  21. response_deserializer=Message2Clients__pb2.MessageToClient.FromString,
  22. )
  23. self.Move = channel.unary_unary(
  24. '/protobuf.AvailableService/Move',
  25. request_serializer=Message2Server__pb2.MoveMsg.SerializeToString,
  26. response_deserializer=Message2Clients__pb2.MoveRes.FromString,
  27. )
  28. self.PickProp = channel.unary_unary(
  29. '/protobuf.AvailableService/PickProp',
  30. request_serializer=Message2Server__pb2.PickMsg.SerializeToString,
  31. response_deserializer=Message2Clients__pb2.BoolRes.FromString,
  32. )
  33. self.UseProp = channel.unary_unary(
  34. '/protobuf.AvailableService/UseProp',
  35. request_serializer=Message2Server__pb2.IDMsg.SerializeToString,
  36. response_deserializer=Message2Clients__pb2.BoolRes.FromString,
  37. )
  38. self.UseSkill = channel.unary_unary(
  39. '/protobuf.AvailableService/UseSkill',
  40. request_serializer=Message2Server__pb2.IDMsg.SerializeToString,
  41. response_deserializer=Message2Clients__pb2.BoolRes.FromString,
  42. )
  43. self.SendMessage = channel.unary_unary(
  44. '/protobuf.AvailableService/SendMessage',
  45. request_serializer=Message2Server__pb2.SendMsg.SerializeToString,
  46. response_deserializer=Message2Clients__pb2.BoolRes.FromString,
  47. )
  48. self.GetMessage = channel.unary_stream(
  49. '/protobuf.AvailableService/GetMessage',
  50. request_serializer=Message2Server__pb2.IDMsg.SerializeToString,
  51. response_deserializer=Message2Clients__pb2.MsgRes.FromString,
  52. )
  53. self.StartFixMachine = channel.unary_unary(
  54. '/protobuf.AvailableService/StartFixMachine',
  55. request_serializer=Message2Server__pb2.IDMsg.SerializeToString,
  56. response_deserializer=Message2Clients__pb2.BoolRes.FromString,
  57. )
  58. self.EndFixMachine = channel.unary_unary(
  59. '/protobuf.AvailableService/EndFixMachine',
  60. request_serializer=Message2Server__pb2.IDMsg.SerializeToString,
  61. response_deserializer=Message2Clients__pb2.BoolRes.FromString,
  62. )
  63. self.StartSaveHuman = channel.unary_unary(
  64. '/protobuf.AvailableService/StartSaveHuman',
  65. request_serializer=Message2Server__pb2.IDMsg.SerializeToString,
  66. response_deserializer=Message2Clients__pb2.BoolRes.FromString,
  67. )
  68. self.EndSaveHuman = channel.unary_unary(
  69. '/protobuf.AvailableService/EndSaveHuman',
  70. request_serializer=Message2Server__pb2.IDMsg.SerializeToString,
  71. response_deserializer=Message2Clients__pb2.BoolRes.FromString,
  72. )
  73. self.Attack = channel.unary_unary(
  74. '/protobuf.AvailableService/Attack',
  75. request_serializer=Message2Server__pb2.AttackMsg.SerializeToString,
  76. response_deserializer=Message2Clients__pb2.BoolRes.FromString,
  77. )
  78. self.CarryHuman = channel.unary_unary(
  79. '/protobuf.AvailableService/CarryHuman',
  80. request_serializer=Message2Server__pb2.IDMsg.SerializeToString,
  81. response_deserializer=Message2Clients__pb2.BoolRes.FromString,
  82. )
  83. self.ReleaseHuman = channel.unary_unary(
  84. '/protobuf.AvailableService/ReleaseHuman',
  85. request_serializer=Message2Server__pb2.IDMsg.SerializeToString,
  86. response_deserializer=Message2Clients__pb2.BoolRes.FromString,
  87. )
  88. self.HangHuman = channel.unary_unary(
  89. '/protobuf.AvailableService/HangHuman',
  90. request_serializer=Message2Server__pb2.IDMsg.SerializeToString,
  91. response_deserializer=Message2Clients__pb2.BoolRes.FromString,
  92. )
  93. self.Escape = channel.unary_unary(
  94. '/protobuf.AvailableService/Escape',
  95. request_serializer=Message2Server__pb2.IDMsg.SerializeToString,
  96. response_deserializer=Message2Clients__pb2.BoolRes.FromString,
  97. )
  98. class AvailableServiceServicer(object):
  99. """Missing associated documentation comment in .proto file."""
  100. def TryConnection(self, request, context):
  101. """Missing associated documentation comment in .proto file."""
  102. context.set_code(grpc.StatusCode.UNIMPLEMENTED)
  103. context.set_details('Method not implemented!')
  104. raise NotImplementedError('Method not implemented!')
  105. def AddPlayer(self, request, context):
  106. """游戏开局调用一次的服务
  107. 连接上后等待游戏开始,server会定时通过该服务向所有client发送消息。
  108. """
  109. context.set_code(grpc.StatusCode.UNIMPLEMENTED)
  110. context.set_details('Method not implemented!')
  111. raise NotImplementedError('Method not implemented!')
  112. def Move(self, request, context):
  113. """游戏过程中玩家执行操作的服务
  114. """
  115. context.set_code(grpc.StatusCode.UNIMPLEMENTED)
  116. context.set_details('Method not implemented!')
  117. raise NotImplementedError('Method not implemented!')
  118. def PickProp(self, request, context):
  119. """Missing associated documentation comment in .proto file."""
  120. context.set_code(grpc.StatusCode.UNIMPLEMENTED)
  121. context.set_details('Method not implemented!')
  122. raise NotImplementedError('Method not implemented!')
  123. def UseProp(self, request, context):
  124. """Missing associated documentation comment in .proto file."""
  125. context.set_code(grpc.StatusCode.UNIMPLEMENTED)
  126. context.set_details('Method not implemented!')
  127. raise NotImplementedError('Method not implemented!')
  128. def UseSkill(self, request, context):
  129. """Missing associated documentation comment in .proto file."""
  130. context.set_code(grpc.StatusCode.UNIMPLEMENTED)
  131. context.set_details('Method not implemented!')
  132. raise NotImplementedError('Method not implemented!')
  133. def SendMessage(self, request, context):
  134. """Missing associated documentation comment in .proto file."""
  135. context.set_code(grpc.StatusCode.UNIMPLEMENTED)
  136. context.set_details('Method not implemented!')
  137. raise NotImplementedError('Method not implemented!')
  138. def GetMessage(self, request, context):
  139. """Missing associated documentation comment in .proto file."""
  140. context.set_code(grpc.StatusCode.UNIMPLEMENTED)
  141. context.set_details('Method not implemented!')
  142. raise NotImplementedError('Method not implemented!')
  143. def StartFixMachine(self, request, context):
  144. """开始修理机器
  145. """
  146. context.set_code(grpc.StatusCode.UNIMPLEMENTED)
  147. context.set_details('Method not implemented!')
  148. raise NotImplementedError('Method not implemented!')
  149. def EndFixMachine(self, request, context):
  150. """主动停止修复
  151. """
  152. context.set_code(grpc.StatusCode.UNIMPLEMENTED)
  153. context.set_details('Method not implemented!')
  154. raise NotImplementedError('Method not implemented!')
  155. def StartSaveHuman(self, request, context):
  156. """开始救人
  157. """
  158. context.set_code(grpc.StatusCode.UNIMPLEMENTED)
  159. context.set_details('Method not implemented!')
  160. raise NotImplementedError('Method not implemented!')
  161. def EndSaveHuman(self, request, context):
  162. """主动停止救人
  163. """
  164. context.set_code(grpc.StatusCode.UNIMPLEMENTED)
  165. context.set_details('Method not implemented!')
  166. raise NotImplementedError('Method not implemented!')
  167. def Attack(self, request, context):
  168. """Missing associated documentation comment in .proto file."""
  169. context.set_code(grpc.StatusCode.UNIMPLEMENTED)
  170. context.set_details('Method not implemented!')
  171. raise NotImplementedError('Method not implemented!')
  172. def CarryHuman(self, request, context):
  173. """Missing associated documentation comment in .proto file."""
  174. context.set_code(grpc.StatusCode.UNIMPLEMENTED)
  175. context.set_details('Method not implemented!')
  176. raise NotImplementedError('Method not implemented!')
  177. def ReleaseHuman(self, request, context):
  178. """Missing associated documentation comment in .proto file."""
  179. context.set_code(grpc.StatusCode.UNIMPLEMENTED)
  180. context.set_details('Method not implemented!')
  181. raise NotImplementedError('Method not implemented!')
  182. def HangHuman(self, request, context):
  183. """Missing associated documentation comment in .proto file."""
  184. context.set_code(grpc.StatusCode.UNIMPLEMENTED)
  185. context.set_details('Method not implemented!')
  186. raise NotImplementedError('Method not implemented!')
  187. def Escape(self, request, context):
  188. """Missing associated documentation comment in .proto file."""
  189. context.set_code(grpc.StatusCode.UNIMPLEMENTED)
  190. context.set_details('Method not implemented!')
  191. raise NotImplementedError('Method not implemented!')
  192. def add_AvailableServiceServicer_to_server(servicer, server):
  193. rpc_method_handlers = {
  194. 'TryConnection': grpc.unary_unary_rpc_method_handler(
  195. servicer.TryConnection,
  196. request_deserializer=Message2Server__pb2.IDMsg.FromString,
  197. response_serializer=Message2Clients__pb2.BoolRes.SerializeToString,
  198. ),
  199. 'AddPlayer': grpc.unary_stream_rpc_method_handler(
  200. servicer.AddPlayer,
  201. request_deserializer=Message2Server__pb2.PlayerMsg.FromString,
  202. response_serializer=Message2Clients__pb2.MessageToClient.SerializeToString,
  203. ),
  204. 'Move': grpc.unary_unary_rpc_method_handler(
  205. servicer.Move,
  206. request_deserializer=Message2Server__pb2.MoveMsg.FromString,
  207. response_serializer=Message2Clients__pb2.MoveRes.SerializeToString,
  208. ),
  209. 'PickProp': grpc.unary_unary_rpc_method_handler(
  210. servicer.PickProp,
  211. request_deserializer=Message2Server__pb2.PickMsg.FromString,
  212. response_serializer=Message2Clients__pb2.BoolRes.SerializeToString,
  213. ),
  214. 'UseProp': grpc.unary_unary_rpc_method_handler(
  215. servicer.UseProp,
  216. request_deserializer=Message2Server__pb2.IDMsg.FromString,
  217. response_serializer=Message2Clients__pb2.BoolRes.SerializeToString,
  218. ),
  219. 'UseSkill': grpc.unary_unary_rpc_method_handler(
  220. servicer.UseSkill,
  221. request_deserializer=Message2Server__pb2.IDMsg.FromString,
  222. response_serializer=Message2Clients__pb2.BoolRes.SerializeToString,
  223. ),
  224. 'SendMessage': grpc.unary_unary_rpc_method_handler(
  225. servicer.SendMessage,
  226. request_deserializer=Message2Server__pb2.SendMsg.FromString,
  227. response_serializer=Message2Clients__pb2.BoolRes.SerializeToString,
  228. ),
  229. 'GetMessage': grpc.unary_stream_rpc_method_handler(
  230. servicer.GetMessage,
  231. request_deserializer=Message2Server__pb2.IDMsg.FromString,
  232. response_serializer=Message2Clients__pb2.MsgRes.SerializeToString,
  233. ),
  234. 'StartFixMachine': grpc.unary_unary_rpc_method_handler(
  235. servicer.StartFixMachine,
  236. request_deserializer=Message2Server__pb2.IDMsg.FromString,
  237. response_serializer=Message2Clients__pb2.BoolRes.SerializeToString,
  238. ),
  239. 'EndFixMachine': grpc.unary_unary_rpc_method_handler(
  240. servicer.EndFixMachine,
  241. request_deserializer=Message2Server__pb2.IDMsg.FromString,
  242. response_serializer=Message2Clients__pb2.BoolRes.SerializeToString,
  243. ),
  244. 'StartSaveHuman': grpc.unary_unary_rpc_method_handler(
  245. servicer.StartSaveHuman,
  246. request_deserializer=Message2Server__pb2.IDMsg.FromString,
  247. response_serializer=Message2Clients__pb2.BoolRes.SerializeToString,
  248. ),
  249. 'EndSaveHuman': grpc.unary_unary_rpc_method_handler(
  250. servicer.EndSaveHuman,
  251. request_deserializer=Message2Server__pb2.IDMsg.FromString,
  252. response_serializer=Message2Clients__pb2.BoolRes.SerializeToString,
  253. ),
  254. 'Attack': grpc.unary_unary_rpc_method_handler(
  255. servicer.Attack,
  256. request_deserializer=Message2Server__pb2.AttackMsg.FromString,
  257. response_serializer=Message2Clients__pb2.BoolRes.SerializeToString,
  258. ),
  259. 'CarryHuman': grpc.unary_unary_rpc_method_handler(
  260. servicer.CarryHuman,
  261. request_deserializer=Message2Server__pb2.IDMsg.FromString,
  262. response_serializer=Message2Clients__pb2.BoolRes.SerializeToString,
  263. ),
  264. 'ReleaseHuman': grpc.unary_unary_rpc_method_handler(
  265. servicer.ReleaseHuman,
  266. request_deserializer=Message2Server__pb2.IDMsg.FromString,
  267. response_serializer=Message2Clients__pb2.BoolRes.SerializeToString,
  268. ),
  269. 'HangHuman': grpc.unary_unary_rpc_method_handler(
  270. servicer.HangHuman,
  271. request_deserializer=Message2Server__pb2.IDMsg.FromString,
  272. response_serializer=Message2Clients__pb2.BoolRes.SerializeToString,
  273. ),
  274. 'Escape': grpc.unary_unary_rpc_method_handler(
  275. servicer.Escape,
  276. request_deserializer=Message2Server__pb2.IDMsg.FromString,
  277. response_serializer=Message2Clients__pb2.BoolRes.SerializeToString,
  278. ),
  279. }
  280. generic_handler = grpc.method_handlers_generic_handler(
  281. 'protobuf.AvailableService', rpc_method_handlers)
  282. server.add_generic_rpc_handlers((generic_handler,))
  283. # This class is part of an EXPERIMENTAL API.
  284. class AvailableService(object):
  285. """Missing associated documentation comment in .proto file."""
  286. @staticmethod
  287. def TryConnection(request,
  288. target,
  289. options=(),
  290. channel_credentials=None,
  291. call_credentials=None,
  292. insecure=False,
  293. compression=None,
  294. wait_for_ready=None,
  295. timeout=None,
  296. metadata=None):
  297. return grpc.experimental.unary_unary(request, target, '/protobuf.AvailableService/TryConnection',
  298. Message2Server__pb2.IDMsg.SerializeToString,
  299. Message2Clients__pb2.BoolRes.FromString,
  300. options, channel_credentials,
  301. insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
  302. @staticmethod
  303. def AddPlayer(request,
  304. target,
  305. options=(),
  306. channel_credentials=None,
  307. call_credentials=None,
  308. insecure=False,
  309. compression=None,
  310. wait_for_ready=None,
  311. timeout=None,
  312. metadata=None):
  313. return grpc.experimental.unary_stream(request, target, '/protobuf.AvailableService/AddPlayer',
  314. Message2Server__pb2.PlayerMsg.SerializeToString,
  315. Message2Clients__pb2.MessageToClient.FromString,
  316. options, channel_credentials,
  317. insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
  318. @staticmethod
  319. def Move(request,
  320. target,
  321. options=(),
  322. channel_credentials=None,
  323. call_credentials=None,
  324. insecure=False,
  325. compression=None,
  326. wait_for_ready=None,
  327. timeout=None,
  328. metadata=None):
  329. return grpc.experimental.unary_unary(request, target, '/protobuf.AvailableService/Move',
  330. Message2Server__pb2.MoveMsg.SerializeToString,
  331. Message2Clients__pb2.MoveRes.FromString,
  332. options, channel_credentials,
  333. insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
  334. @staticmethod
  335. def PickProp(request,
  336. target,
  337. options=(),
  338. channel_credentials=None,
  339. call_credentials=None,
  340. insecure=False,
  341. compression=None,
  342. wait_for_ready=None,
  343. timeout=None,
  344. metadata=None):
  345. return grpc.experimental.unary_unary(request, target, '/protobuf.AvailableService/PickProp',
  346. Message2Server__pb2.PickMsg.SerializeToString,
  347. Message2Clients__pb2.BoolRes.FromString,
  348. options, channel_credentials,
  349. insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
  350. @staticmethod
  351. def UseProp(request,
  352. target,
  353. options=(),
  354. channel_credentials=None,
  355. call_credentials=None,
  356. insecure=False,
  357. compression=None,
  358. wait_for_ready=None,
  359. timeout=None,
  360. metadata=None):
  361. return grpc.experimental.unary_unary(request, target, '/protobuf.AvailableService/UseProp',
  362. Message2Server__pb2.IDMsg.SerializeToString,
  363. Message2Clients__pb2.BoolRes.FromString,
  364. options, channel_credentials,
  365. insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
  366. @staticmethod
  367. def UseSkill(request,
  368. target,
  369. options=(),
  370. channel_credentials=None,
  371. call_credentials=None,
  372. insecure=False,
  373. compression=None,
  374. wait_for_ready=None,
  375. timeout=None,
  376. metadata=None):
  377. return grpc.experimental.unary_unary(request, target, '/protobuf.AvailableService/UseSkill',
  378. Message2Server__pb2.IDMsg.SerializeToString,
  379. Message2Clients__pb2.BoolRes.FromString,
  380. options, channel_credentials,
  381. insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
  382. @staticmethod
  383. def SendMessage(request,
  384. target,
  385. options=(),
  386. channel_credentials=None,
  387. call_credentials=None,
  388. insecure=False,
  389. compression=None,
  390. wait_for_ready=None,
  391. timeout=None,
  392. metadata=None):
  393. return grpc.experimental.unary_unary(request, target, '/protobuf.AvailableService/SendMessage',
  394. Message2Server__pb2.SendMsg.SerializeToString,
  395. Message2Clients__pb2.BoolRes.FromString,
  396. options, channel_credentials,
  397. insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
  398. @staticmethod
  399. def GetMessage(request,
  400. target,
  401. options=(),
  402. channel_credentials=None,
  403. call_credentials=None,
  404. insecure=False,
  405. compression=None,
  406. wait_for_ready=None,
  407. timeout=None,
  408. metadata=None):
  409. return grpc.experimental.unary_stream(request, target, '/protobuf.AvailableService/GetMessage',
  410. Message2Server__pb2.IDMsg.SerializeToString,
  411. Message2Clients__pb2.MsgRes.FromString,
  412. options, channel_credentials,
  413. insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
  414. @staticmethod
  415. def StartFixMachine(request,
  416. target,
  417. options=(),
  418. channel_credentials=None,
  419. call_credentials=None,
  420. insecure=False,
  421. compression=None,
  422. wait_for_ready=None,
  423. timeout=None,
  424. metadata=None):
  425. return grpc.experimental.unary_unary(request, target, '/protobuf.AvailableService/StartFixMachine',
  426. Message2Server__pb2.IDMsg.SerializeToString,
  427. Message2Clients__pb2.BoolRes.FromString,
  428. options, channel_credentials,
  429. insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
  430. @staticmethod
  431. def EndFixMachine(request,
  432. target,
  433. options=(),
  434. channel_credentials=None,
  435. call_credentials=None,
  436. insecure=False,
  437. compression=None,
  438. wait_for_ready=None,
  439. timeout=None,
  440. metadata=None):
  441. return grpc.experimental.unary_unary(request, target, '/protobuf.AvailableService/EndFixMachine',
  442. Message2Server__pb2.IDMsg.SerializeToString,
  443. Message2Clients__pb2.BoolRes.FromString,
  444. options, channel_credentials,
  445. insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
  446. @staticmethod
  447. def StartSaveHuman(request,
  448. target,
  449. options=(),
  450. channel_credentials=None,
  451. call_credentials=None,
  452. insecure=False,
  453. compression=None,
  454. wait_for_ready=None,
  455. timeout=None,
  456. metadata=None):
  457. return grpc.experimental.unary_unary(request, target, '/protobuf.AvailableService/StartSaveHuman',
  458. Message2Server__pb2.IDMsg.SerializeToString,
  459. Message2Clients__pb2.BoolRes.FromString,
  460. options, channel_credentials,
  461. insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
  462. @staticmethod
  463. def EndSaveHuman(request,
  464. target,
  465. options=(),
  466. channel_credentials=None,
  467. call_credentials=None,
  468. insecure=False,
  469. compression=None,
  470. wait_for_ready=None,
  471. timeout=None,
  472. metadata=None):
  473. return grpc.experimental.unary_unary(request, target, '/protobuf.AvailableService/EndSaveHuman',
  474. Message2Server__pb2.IDMsg.SerializeToString,
  475. Message2Clients__pb2.BoolRes.FromString,
  476. options, channel_credentials,
  477. insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
  478. @staticmethod
  479. def Attack(request,
  480. target,
  481. options=(),
  482. channel_credentials=None,
  483. call_credentials=None,
  484. insecure=False,
  485. compression=None,
  486. wait_for_ready=None,
  487. timeout=None,
  488. metadata=None):
  489. return grpc.experimental.unary_unary(request, target, '/protobuf.AvailableService/Attack',
  490. Message2Server__pb2.AttackMsg.SerializeToString,
  491. Message2Clients__pb2.BoolRes.FromString,
  492. options, channel_credentials,
  493. insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
  494. @staticmethod
  495. def CarryHuman(request,
  496. target,
  497. options=(),
  498. channel_credentials=None,
  499. call_credentials=None,
  500. insecure=False,
  501. compression=None,
  502. wait_for_ready=None,
  503. timeout=None,
  504. metadata=None):
  505. return grpc.experimental.unary_unary(request, target, '/protobuf.AvailableService/CarryHuman',
  506. Message2Server__pb2.IDMsg.SerializeToString,
  507. Message2Clients__pb2.BoolRes.FromString,
  508. options, channel_credentials,
  509. insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
  510. @staticmethod
  511. def ReleaseHuman(request,
  512. target,
  513. options=(),
  514. channel_credentials=None,
  515. call_credentials=None,
  516. insecure=False,
  517. compression=None,
  518. wait_for_ready=None,
  519. timeout=None,
  520. metadata=None):
  521. return grpc.experimental.unary_unary(request, target, '/protobuf.AvailableService/ReleaseHuman',
  522. Message2Server__pb2.IDMsg.SerializeToString,
  523. Message2Clients__pb2.BoolRes.FromString,
  524. options, channel_credentials,
  525. insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
  526. @staticmethod
  527. def HangHuman(request,
  528. target,
  529. options=(),
  530. channel_credentials=None,
  531. call_credentials=None,
  532. insecure=False,
  533. compression=None,
  534. wait_for_ready=None,
  535. timeout=None,
  536. metadata=None):
  537. return grpc.experimental.unary_unary(request, target, '/protobuf.AvailableService/HangHuman',
  538. Message2Server__pb2.IDMsg.SerializeToString,
  539. Message2Clients__pb2.BoolRes.FromString,
  540. options, channel_credentials,
  541. insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
  542. @staticmethod
  543. def Escape(request,
  544. target,
  545. options=(),
  546. channel_credentials=None,
  547. call_credentials=None,
  548. insecure=False,
  549. compression=None,
  550. wait_for_ready=None,
  551. timeout=None,
  552. metadata=None):
  553. return grpc.experimental.unary_unary(request, target, '/protobuf.AvailableService/Escape',
  554. Message2Server__pb2.IDMsg.SerializeToString,
  555. Message2Clients__pb2.BoolRes.FromString,
  556. options, channel_credentials,
  557. insecure, call_credentials, compression, wait_for_ready, timeout, metadata)