00001 """autogenerated by genpy from gateway_comms/RemoteGatewayInfoRequest.msg. Do not edit."""
00002 import sys
00003 python3 = True if sys.hexversion > 0x03000000 else False
00004 import genpy
00005 import struct
00006
00007
00008 class RemoteGatewayInfoRequest(genpy.Message):
00009 _md5sum = "e005eaac1f4b29980f211758e562aa6e"
00010 _type = "gateway_comms/RemoteGatewayInfoRequest"
00011 _has_header = False
00012 _full_text = """
00013
00014 string[] gateways
00015
00016 """
00017 __slots__ = ['gateways']
00018 _slot_types = ['string[]']
00019
00020 def __init__(self, *args, **kwds):
00021 """
00022 Constructor. Any message fields that are implicitly/explicitly
00023 set to None will be assigned a default value. The recommend
00024 use is keyword arguments as this is more robust to future message
00025 changes. You cannot mix in-order arguments and keyword arguments.
00026
00027 The available fields are:
00028 gateways
00029
00030 :param args: complete set of field values, in .msg order
00031 :param kwds: use keyword arguments corresponding to message field names
00032 to set specific fields.
00033 """
00034 if args or kwds:
00035 super(RemoteGatewayInfoRequest, self).__init__(*args, **kwds)
00036
00037 if self.gateways is None:
00038 self.gateways = []
00039 else:
00040 self.gateways = []
00041
00042 def _get_types(self):
00043 """
00044 internal API method
00045 """
00046 return self._slot_types
00047
00048 def serialize(self, buff):
00049 """
00050 serialize message into buffer
00051 :param buff: buffer, ``StringIO``
00052 """
00053 try:
00054 length = len(self.gateways)
00055 buff.write(_struct_I.pack(length))
00056 for val1 in self.gateways:
00057 length = len(val1)
00058 if python3 or type(val1) == unicode:
00059 val1 = val1.encode('utf-8')
00060 length = len(val1)
00061 buff.write(struct.pack('<I%ss'%length, length, val1))
00062 except struct.error as se: self._check_types(se)
00063 except TypeError as te: self._check_types(te)
00064
00065 def deserialize(self, str):
00066 """
00067 unpack serialized message in str into this message instance
00068 :param str: byte array of serialized message, ``str``
00069 """
00070 try:
00071 end = 0
00072 start = end
00073 end += 4
00074 (length,) = _struct_I.unpack(str[start:end])
00075 self.gateways = []
00076 for i in range(0, length):
00077 start = end
00078 end += 4
00079 (length,) = _struct_I.unpack(str[start:end])
00080 start = end
00081 end += length
00082 if python3:
00083 val1 = str[start:end].decode('utf-8')
00084 else:
00085 val1 = str[start:end]
00086 self.gateways.append(val1)
00087 return self
00088 except struct.error as e:
00089 raise genpy.DeserializationError(e)
00090
00091
00092 def serialize_numpy(self, buff, numpy):
00093 """
00094 serialize message with numpy array types into buffer
00095 :param buff: buffer, ``StringIO``
00096 :param numpy: numpy python module
00097 """
00098 try:
00099 length = len(self.gateways)
00100 buff.write(_struct_I.pack(length))
00101 for val1 in self.gateways:
00102 length = len(val1)
00103 if python3 or type(val1) == unicode:
00104 val1 = val1.encode('utf-8')
00105 length = len(val1)
00106 buff.write(struct.pack('<I%ss'%length, length, val1))
00107 except struct.error as se: self._check_types(se)
00108 except TypeError as te: self._check_types(te)
00109
00110 def deserialize_numpy(self, str, numpy):
00111 """
00112 unpack serialized message in str into this message instance using numpy for array types
00113 :param str: byte array of serialized message, ``str``
00114 :param numpy: numpy python module
00115 """
00116 try:
00117 end = 0
00118 start = end
00119 end += 4
00120 (length,) = _struct_I.unpack(str[start:end])
00121 self.gateways = []
00122 for i in range(0, length):
00123 start = end
00124 end += 4
00125 (length,) = _struct_I.unpack(str[start:end])
00126 start = end
00127 end += length
00128 if python3:
00129 val1 = str[start:end].decode('utf-8')
00130 else:
00131 val1 = str[start:end]
00132 self.gateways.append(val1)
00133 return self
00134 except struct.error as e:
00135 raise genpy.DeserializationError(e)
00136
00137 _struct_I = genpy.struct_I
00138 """autogenerated by genpy from gateway_comms/RemoteGatewayInfoResponse.msg. Do not edit."""
00139 import sys
00140 python3 = True if sys.hexversion > 0x03000000 else False
00141 import genpy
00142 import struct
00143
00144 import gateway_comms.msg
00145
00146 class RemoteGatewayInfoResponse(genpy.Message):
00147 _md5sum = "6e3bf86807866e6071e885bbf00f5017"
00148 _type = "gateway_comms/RemoteGatewayInfoResponse"
00149 _has_header = False
00150 _full_text = """RemoteGateway[] gateways
00151
00152
00153 ================================================================================
00154 MSG: gateway_comms/RemoteGateway
00155 ###### Gateway information ######
00156 string name
00157 #TODO blocking status,health
00158 bool firewall
00159
00160 ###### Public Interface ######
00161
00162 Rule[] public_interface
00163
00164
00165 ###### Flipped Interface ######
00166
00167 # Flipped and pulled interfaces would be useful for debugging
00168 # https://github.com/robotics-in-concert/rocon_multimaster/issues/84
00169
00170 RemoteRule[] flipped_interface
00171 RemoteRule[] pulled_interface
00172
00173 ###### Foreign Interface ######
00174
00175 # Q) Should we show these?
00176 # A) Probably not, in the overall scheme of things,
00177 # it doubles up the information from above
00178
00179 # RemoteRule[] flipped_in_connections
00180 # RemoteRule[] pulled_connections
00181
00182 ================================================================================
00183 MSG: gateway_comms/Rule
00184 # Standard gateway connection rule
00185
00186 # type of connection (from gateway_comms.msg.Connection)
00187 string type
00188
00189 # this is the topic/service name or the action base name (a regex is supported)
00190 string name
00191
00192 # (optional) an optional node name can be provided. if node name is not provided
00193 # then all nodes are matched (also supports regex)
00194 string node
00195
00196 ================================================================================
00197 MSG: gateway_comms/RemoteRule
00198 # Definition for a flip. It represents either:
00199 #
00200 # 1) an existing flipped connection (from the local gateway)
00201 # 2) a rule that is put on a watchlist
00202
00203 # The target recipient of the flip
00204 string gateway
00205
00206 # Connection has the following parameters that need setting
00207 # - name : fully qualified name of the connection (str)
00208 # - type : connection type (str)
00209 #
00210 # Use one of the types defined in Connection string constants:
00211 # (publisher, subscriber, service, action_client, action_server)
00212 #
00213 # - node : name of the node it originates from (str)(optional)
00214 #
00215 # Node name is necessary, for instance, if you have multiple subscribers
00216 # publishing to a single topic. Most of the time it is not necessary,
00217 # but in some cases it helps refine the rule. It helps refine the rule.
00218 #
00219 Rule rule
00220
00221 """
00222 __slots__ = ['gateways']
00223 _slot_types = ['gateway_comms/RemoteGateway[]']
00224
00225 def __init__(self, *args, **kwds):
00226 """
00227 Constructor. Any message fields that are implicitly/explicitly
00228 set to None will be assigned a default value. The recommend
00229 use is keyword arguments as this is more robust to future message
00230 changes. You cannot mix in-order arguments and keyword arguments.
00231
00232 The available fields are:
00233 gateways
00234
00235 :param args: complete set of field values, in .msg order
00236 :param kwds: use keyword arguments corresponding to message field names
00237 to set specific fields.
00238 """
00239 if args or kwds:
00240 super(RemoteGatewayInfoResponse, self).__init__(*args, **kwds)
00241
00242 if self.gateways is None:
00243 self.gateways = []
00244 else:
00245 self.gateways = []
00246
00247 def _get_types(self):
00248 """
00249 internal API method
00250 """
00251 return self._slot_types
00252
00253 def serialize(self, buff):
00254 """
00255 serialize message into buffer
00256 :param buff: buffer, ``StringIO``
00257 """
00258 try:
00259 length = len(self.gateways)
00260 buff.write(_struct_I.pack(length))
00261 for val1 in self.gateways:
00262 _x = val1.name
00263 length = len(_x)
00264 if python3 or type(_x) == unicode:
00265 _x = _x.encode('utf-8')
00266 length = len(_x)
00267 buff.write(struct.pack('<I%ss'%length, length, _x))
00268 buff.write(_struct_B.pack(val1.firewall))
00269 length = len(val1.public_interface)
00270 buff.write(_struct_I.pack(length))
00271 for val2 in val1.public_interface:
00272 _x = val2.type
00273 length = len(_x)
00274 if python3 or type(_x) == unicode:
00275 _x = _x.encode('utf-8')
00276 length = len(_x)
00277 buff.write(struct.pack('<I%ss'%length, length, _x))
00278 _x = val2.name
00279 length = len(_x)
00280 if python3 or type(_x) == unicode:
00281 _x = _x.encode('utf-8')
00282 length = len(_x)
00283 buff.write(struct.pack('<I%ss'%length, length, _x))
00284 _x = val2.node
00285 length = len(_x)
00286 if python3 or type(_x) == unicode:
00287 _x = _x.encode('utf-8')
00288 length = len(_x)
00289 buff.write(struct.pack('<I%ss'%length, length, _x))
00290 length = len(val1.flipped_interface)
00291 buff.write(_struct_I.pack(length))
00292 for val2 in val1.flipped_interface:
00293 _x = val2.gateway
00294 length = len(_x)
00295 if python3 or type(_x) == unicode:
00296 _x = _x.encode('utf-8')
00297 length = len(_x)
00298 buff.write(struct.pack('<I%ss'%length, length, _x))
00299 _v1 = val2.rule
00300 _x = _v1.type
00301 length = len(_x)
00302 if python3 or type(_x) == unicode:
00303 _x = _x.encode('utf-8')
00304 length = len(_x)
00305 buff.write(struct.pack('<I%ss'%length, length, _x))
00306 _x = _v1.name
00307 length = len(_x)
00308 if python3 or type(_x) == unicode:
00309 _x = _x.encode('utf-8')
00310 length = len(_x)
00311 buff.write(struct.pack('<I%ss'%length, length, _x))
00312 _x = _v1.node
00313 length = len(_x)
00314 if python3 or type(_x) == unicode:
00315 _x = _x.encode('utf-8')
00316 length = len(_x)
00317 buff.write(struct.pack('<I%ss'%length, length, _x))
00318 length = len(val1.pulled_interface)
00319 buff.write(_struct_I.pack(length))
00320 for val2 in val1.pulled_interface:
00321 _x = val2.gateway
00322 length = len(_x)
00323 if python3 or type(_x) == unicode:
00324 _x = _x.encode('utf-8')
00325 length = len(_x)
00326 buff.write(struct.pack('<I%ss'%length, length, _x))
00327 _v2 = val2.rule
00328 _x = _v2.type
00329 length = len(_x)
00330 if python3 or type(_x) == unicode:
00331 _x = _x.encode('utf-8')
00332 length = len(_x)
00333 buff.write(struct.pack('<I%ss'%length, length, _x))
00334 _x = _v2.name
00335 length = len(_x)
00336 if python3 or type(_x) == unicode:
00337 _x = _x.encode('utf-8')
00338 length = len(_x)
00339 buff.write(struct.pack('<I%ss'%length, length, _x))
00340 _x = _v2.node
00341 length = len(_x)
00342 if python3 or type(_x) == unicode:
00343 _x = _x.encode('utf-8')
00344 length = len(_x)
00345 buff.write(struct.pack('<I%ss'%length, length, _x))
00346 except struct.error as se: self._check_types(se)
00347 except TypeError as te: self._check_types(te)
00348
00349 def deserialize(self, str):
00350 """
00351 unpack serialized message in str into this message instance
00352 :param str: byte array of serialized message, ``str``
00353 """
00354 try:
00355 if self.gateways is None:
00356 self.gateways = None
00357 end = 0
00358 start = end
00359 end += 4
00360 (length,) = _struct_I.unpack(str[start:end])
00361 self.gateways = []
00362 for i in range(0, length):
00363 val1 = gateway_comms.msg.RemoteGateway()
00364 start = end
00365 end += 4
00366 (length,) = _struct_I.unpack(str[start:end])
00367 start = end
00368 end += length
00369 if python3:
00370 val1.name = str[start:end].decode('utf-8')
00371 else:
00372 val1.name = str[start:end]
00373 start = end
00374 end += 1
00375 (val1.firewall,) = _struct_B.unpack(str[start:end])
00376 val1.firewall = bool(val1.firewall)
00377 start = end
00378 end += 4
00379 (length,) = _struct_I.unpack(str[start:end])
00380 val1.public_interface = []
00381 for i in range(0, length):
00382 val2 = gateway_comms.msg.Rule()
00383 start = end
00384 end += 4
00385 (length,) = _struct_I.unpack(str[start:end])
00386 start = end
00387 end += length
00388 if python3:
00389 val2.type = str[start:end].decode('utf-8')
00390 else:
00391 val2.type = str[start:end]
00392 start = end
00393 end += 4
00394 (length,) = _struct_I.unpack(str[start:end])
00395 start = end
00396 end += length
00397 if python3:
00398 val2.name = str[start:end].decode('utf-8')
00399 else:
00400 val2.name = str[start:end]
00401 start = end
00402 end += 4
00403 (length,) = _struct_I.unpack(str[start:end])
00404 start = end
00405 end += length
00406 if python3:
00407 val2.node = str[start:end].decode('utf-8')
00408 else:
00409 val2.node = str[start:end]
00410 val1.public_interface.append(val2)
00411 start = end
00412 end += 4
00413 (length,) = _struct_I.unpack(str[start:end])
00414 val1.flipped_interface = []
00415 for i in range(0, length):
00416 val2 = gateway_comms.msg.RemoteRule()
00417 start = end
00418 end += 4
00419 (length,) = _struct_I.unpack(str[start:end])
00420 start = end
00421 end += length
00422 if python3:
00423 val2.gateway = str[start:end].decode('utf-8')
00424 else:
00425 val2.gateway = str[start:end]
00426 _v3 = val2.rule
00427 start = end
00428 end += 4
00429 (length,) = _struct_I.unpack(str[start:end])
00430 start = end
00431 end += length
00432 if python3:
00433 _v3.type = str[start:end].decode('utf-8')
00434 else:
00435 _v3.type = str[start:end]
00436 start = end
00437 end += 4
00438 (length,) = _struct_I.unpack(str[start:end])
00439 start = end
00440 end += length
00441 if python3:
00442 _v3.name = str[start:end].decode('utf-8')
00443 else:
00444 _v3.name = str[start:end]
00445 start = end
00446 end += 4
00447 (length,) = _struct_I.unpack(str[start:end])
00448 start = end
00449 end += length
00450 if python3:
00451 _v3.node = str[start:end].decode('utf-8')
00452 else:
00453 _v3.node = str[start:end]
00454 val1.flipped_interface.append(val2)
00455 start = end
00456 end += 4
00457 (length,) = _struct_I.unpack(str[start:end])
00458 val1.pulled_interface = []
00459 for i in range(0, length):
00460 val2 = gateway_comms.msg.RemoteRule()
00461 start = end
00462 end += 4
00463 (length,) = _struct_I.unpack(str[start:end])
00464 start = end
00465 end += length
00466 if python3:
00467 val2.gateway = str[start:end].decode('utf-8')
00468 else:
00469 val2.gateway = str[start:end]
00470 _v4 = val2.rule
00471 start = end
00472 end += 4
00473 (length,) = _struct_I.unpack(str[start:end])
00474 start = end
00475 end += length
00476 if python3:
00477 _v4.type = str[start:end].decode('utf-8')
00478 else:
00479 _v4.type = str[start:end]
00480 start = end
00481 end += 4
00482 (length,) = _struct_I.unpack(str[start:end])
00483 start = end
00484 end += length
00485 if python3:
00486 _v4.name = str[start:end].decode('utf-8')
00487 else:
00488 _v4.name = str[start:end]
00489 start = end
00490 end += 4
00491 (length,) = _struct_I.unpack(str[start:end])
00492 start = end
00493 end += length
00494 if python3:
00495 _v4.node = str[start:end].decode('utf-8')
00496 else:
00497 _v4.node = str[start:end]
00498 val1.pulled_interface.append(val2)
00499 self.gateways.append(val1)
00500 return self
00501 except struct.error as e:
00502 raise genpy.DeserializationError(e)
00503
00504
00505 def serialize_numpy(self, buff, numpy):
00506 """
00507 serialize message with numpy array types into buffer
00508 :param buff: buffer, ``StringIO``
00509 :param numpy: numpy python module
00510 """
00511 try:
00512 length = len(self.gateways)
00513 buff.write(_struct_I.pack(length))
00514 for val1 in self.gateways:
00515 _x = val1.name
00516 length = len(_x)
00517 if python3 or type(_x) == unicode:
00518 _x = _x.encode('utf-8')
00519 length = len(_x)
00520 buff.write(struct.pack('<I%ss'%length, length, _x))
00521 buff.write(_struct_B.pack(val1.firewall))
00522 length = len(val1.public_interface)
00523 buff.write(_struct_I.pack(length))
00524 for val2 in val1.public_interface:
00525 _x = val2.type
00526 length = len(_x)
00527 if python3 or type(_x) == unicode:
00528 _x = _x.encode('utf-8')
00529 length = len(_x)
00530 buff.write(struct.pack('<I%ss'%length, length, _x))
00531 _x = val2.name
00532 length = len(_x)
00533 if python3 or type(_x) == unicode:
00534 _x = _x.encode('utf-8')
00535 length = len(_x)
00536 buff.write(struct.pack('<I%ss'%length, length, _x))
00537 _x = val2.node
00538 length = len(_x)
00539 if python3 or type(_x) == unicode:
00540 _x = _x.encode('utf-8')
00541 length = len(_x)
00542 buff.write(struct.pack('<I%ss'%length, length, _x))
00543 length = len(val1.flipped_interface)
00544 buff.write(_struct_I.pack(length))
00545 for val2 in val1.flipped_interface:
00546 _x = val2.gateway
00547 length = len(_x)
00548 if python3 or type(_x) == unicode:
00549 _x = _x.encode('utf-8')
00550 length = len(_x)
00551 buff.write(struct.pack('<I%ss'%length, length, _x))
00552 _v5 = val2.rule
00553 _x = _v5.type
00554 length = len(_x)
00555 if python3 or type(_x) == unicode:
00556 _x = _x.encode('utf-8')
00557 length = len(_x)
00558 buff.write(struct.pack('<I%ss'%length, length, _x))
00559 _x = _v5.name
00560 length = len(_x)
00561 if python3 or type(_x) == unicode:
00562 _x = _x.encode('utf-8')
00563 length = len(_x)
00564 buff.write(struct.pack('<I%ss'%length, length, _x))
00565 _x = _v5.node
00566 length = len(_x)
00567 if python3 or type(_x) == unicode:
00568 _x = _x.encode('utf-8')
00569 length = len(_x)
00570 buff.write(struct.pack('<I%ss'%length, length, _x))
00571 length = len(val1.pulled_interface)
00572 buff.write(_struct_I.pack(length))
00573 for val2 in val1.pulled_interface:
00574 _x = val2.gateway
00575 length = len(_x)
00576 if python3 or type(_x) == unicode:
00577 _x = _x.encode('utf-8')
00578 length = len(_x)
00579 buff.write(struct.pack('<I%ss'%length, length, _x))
00580 _v6 = val2.rule
00581 _x = _v6.type
00582 length = len(_x)
00583 if python3 or type(_x) == unicode:
00584 _x = _x.encode('utf-8')
00585 length = len(_x)
00586 buff.write(struct.pack('<I%ss'%length, length, _x))
00587 _x = _v6.name
00588 length = len(_x)
00589 if python3 or type(_x) == unicode:
00590 _x = _x.encode('utf-8')
00591 length = len(_x)
00592 buff.write(struct.pack('<I%ss'%length, length, _x))
00593 _x = _v6.node
00594 length = len(_x)
00595 if python3 or type(_x) == unicode:
00596 _x = _x.encode('utf-8')
00597 length = len(_x)
00598 buff.write(struct.pack('<I%ss'%length, length, _x))
00599 except struct.error as se: self._check_types(se)
00600 except TypeError as te: self._check_types(te)
00601
00602 def deserialize_numpy(self, str, numpy):
00603 """
00604 unpack serialized message in str into this message instance using numpy for array types
00605 :param str: byte array of serialized message, ``str``
00606 :param numpy: numpy python module
00607 """
00608 try:
00609 if self.gateways is None:
00610 self.gateways = None
00611 end = 0
00612 start = end
00613 end += 4
00614 (length,) = _struct_I.unpack(str[start:end])
00615 self.gateways = []
00616 for i in range(0, length):
00617 val1 = gateway_comms.msg.RemoteGateway()
00618 start = end
00619 end += 4
00620 (length,) = _struct_I.unpack(str[start:end])
00621 start = end
00622 end += length
00623 if python3:
00624 val1.name = str[start:end].decode('utf-8')
00625 else:
00626 val1.name = str[start:end]
00627 start = end
00628 end += 1
00629 (val1.firewall,) = _struct_B.unpack(str[start:end])
00630 val1.firewall = bool(val1.firewall)
00631 start = end
00632 end += 4
00633 (length,) = _struct_I.unpack(str[start:end])
00634 val1.public_interface = []
00635 for i in range(0, length):
00636 val2 = gateway_comms.msg.Rule()
00637 start = end
00638 end += 4
00639 (length,) = _struct_I.unpack(str[start:end])
00640 start = end
00641 end += length
00642 if python3:
00643 val2.type = str[start:end].decode('utf-8')
00644 else:
00645 val2.type = str[start:end]
00646 start = end
00647 end += 4
00648 (length,) = _struct_I.unpack(str[start:end])
00649 start = end
00650 end += length
00651 if python3:
00652 val2.name = str[start:end].decode('utf-8')
00653 else:
00654 val2.name = str[start:end]
00655 start = end
00656 end += 4
00657 (length,) = _struct_I.unpack(str[start:end])
00658 start = end
00659 end += length
00660 if python3:
00661 val2.node = str[start:end].decode('utf-8')
00662 else:
00663 val2.node = str[start:end]
00664 val1.public_interface.append(val2)
00665 start = end
00666 end += 4
00667 (length,) = _struct_I.unpack(str[start:end])
00668 val1.flipped_interface = []
00669 for i in range(0, length):
00670 val2 = gateway_comms.msg.RemoteRule()
00671 start = end
00672 end += 4
00673 (length,) = _struct_I.unpack(str[start:end])
00674 start = end
00675 end += length
00676 if python3:
00677 val2.gateway = str[start:end].decode('utf-8')
00678 else:
00679 val2.gateway = str[start:end]
00680 _v7 = val2.rule
00681 start = end
00682 end += 4
00683 (length,) = _struct_I.unpack(str[start:end])
00684 start = end
00685 end += length
00686 if python3:
00687 _v7.type = str[start:end].decode('utf-8')
00688 else:
00689 _v7.type = str[start:end]
00690 start = end
00691 end += 4
00692 (length,) = _struct_I.unpack(str[start:end])
00693 start = end
00694 end += length
00695 if python3:
00696 _v7.name = str[start:end].decode('utf-8')
00697 else:
00698 _v7.name = str[start:end]
00699 start = end
00700 end += 4
00701 (length,) = _struct_I.unpack(str[start:end])
00702 start = end
00703 end += length
00704 if python3:
00705 _v7.node = str[start:end].decode('utf-8')
00706 else:
00707 _v7.node = str[start:end]
00708 val1.flipped_interface.append(val2)
00709 start = end
00710 end += 4
00711 (length,) = _struct_I.unpack(str[start:end])
00712 val1.pulled_interface = []
00713 for i in range(0, length):
00714 val2 = gateway_comms.msg.RemoteRule()
00715 start = end
00716 end += 4
00717 (length,) = _struct_I.unpack(str[start:end])
00718 start = end
00719 end += length
00720 if python3:
00721 val2.gateway = str[start:end].decode('utf-8')
00722 else:
00723 val2.gateway = str[start:end]
00724 _v8 = val2.rule
00725 start = end
00726 end += 4
00727 (length,) = _struct_I.unpack(str[start:end])
00728 start = end
00729 end += length
00730 if python3:
00731 _v8.type = str[start:end].decode('utf-8')
00732 else:
00733 _v8.type = str[start:end]
00734 start = end
00735 end += 4
00736 (length,) = _struct_I.unpack(str[start:end])
00737 start = end
00738 end += length
00739 if python3:
00740 _v8.name = str[start:end].decode('utf-8')
00741 else:
00742 _v8.name = str[start:end]
00743 start = end
00744 end += 4
00745 (length,) = _struct_I.unpack(str[start:end])
00746 start = end
00747 end += length
00748 if python3:
00749 _v8.node = str[start:end].decode('utf-8')
00750 else:
00751 _v8.node = str[start:end]
00752 val1.pulled_interface.append(val2)
00753 self.gateways.append(val1)
00754 return self
00755 except struct.error as e:
00756 raise genpy.DeserializationError(e)
00757
00758 _struct_I = genpy.struct_I
00759 _struct_B = struct.Struct("<B")
00760 class RemoteGatewayInfo(object):
00761 _type = 'gateway_comms/RemoteGatewayInfo'
00762 _md5sum = 'ecc116b6ef6bd66e7ef838d80ea8716e'
00763 _request_class = RemoteGatewayInfoRequest
00764 _response_class = RemoteGatewayInfoResponse