distributed-v2/src/main/java/com/orientechnologies/orient/distributed/impl/ONodeManager.java
protected byte[] serializeMessage(OBroadcastMessage message) throws Exception {
    ByteArrayOutputStream buffer = new ByteArrayOutputStream();
    message.write(new DataOutputStream(buffer));
    return encrypt(buffer.toByteArray());
  }
protected byte[] serializeMessage(OBroadcastMessage message) throws Exception {
    ByteArrayOutputStream buffer = new ByteArrayOutputStream();
    message.write(new DataOutputStream(buffer));
    return encrypt(buffer.toByteArray());
  }
protected byte [ ] serializeMessage ( OBroadcastMessage message ) throws Exception { ByteArrayOutputStream buffer = new ByteArrayOutputStream ( ) ; message . write ( new DataOutputStream ( buffer ) ) ; return encrypt ( buffer . toByteArray ( ) ) ; }
/* =============== NETWORK UTILITIES =================
/ * =============== NETWORK UTILITIES =================