예제 #1
0
	def _message (self, data):
		return Message._message(self,concat_bytes(
			self.what.pack(),
			pack('!H',len(data)),
			data
		))
예제 #2
0
 def _message(self, data):
     return Message._message(
         self, concat_bytes(self.what.pack(), pack('!H', len(data)), data))
예제 #3
0
 def _message(self, data):
     return Message._message(self, self.what.pack() + pack('!H', len(data)) + data)
예제 #4
0
파일: operational.py 프로젝트: x11us/exabgp
 def _message(self, data):
     return Message._message(
         self, "%s%s%s" % (self.what.pack(), pack('!H', len(data)), data))
예제 #5
0
	def _message (self, data):
		return Message._message(self,"%s%s%s" % (
			self.what.pack(),
			pack('!H',len(data)),
			data
		))