|
|
@ -1315,7 +1315,7 @@ class NodeConn(asyncore.dispatcher): |
|
|
|
|
|
|
|
|
|
|
|
def send_message(self, message, pushbuf=False): |
|
|
|
def send_message(self, message, pushbuf=False): |
|
|
|
if self.state != "connected" and not pushbuf: |
|
|
|
if self.state != "connected" and not pushbuf: |
|
|
|
return |
|
|
|
raise IOError('Not connected, no pushbuf') |
|
|
|
self.show_debug_msg("Send %s" % repr(message)) |
|
|
|
self.show_debug_msg("Send %s" % repr(message)) |
|
|
|
command = message.command |
|
|
|
command = message.command |
|
|
|
data = message.serialize() |
|
|
|
data = message.serialize() |
|
|
|