protocols.put(request.clientHash, remote); HandshakeResponse response = new HandshakeResponse(); if (localHash.equals(request.serverHash)) { response.match =
Protocol p = Protocol.parse(handshakeResponse.getServerProtocol());
@Override @SuppressWarnings("unchecked") public HandshakeResponse build() { try { HandshakeResponse record = new HandshakeResponse(); record.match = fieldSetFlags()[0] ? this.match : (org.apache.avro.ipc.HandshakeMatch) defaultValue(fields()[0]); record.serverProtocol = fieldSetFlags()[1] ? this.serverProtocol : (java.lang.String) defaultValue(fields()[1]); record.serverHash = fieldSetFlags()[2] ? this.serverHash : (org.apache.avro.ipc.MD5) defaultValue(fields()[2]); record.meta = fieldSetFlags()[3] ? this.meta : (java.util.Map<java.lang.String,java.nio.ByteBuffer>) defaultValue(fields()[3]); return record; } catch (org.apache.avro.AvroMissingFieldException e) { throw e; } catch (java.lang.Exception e) { throw new org.apache.avro.AvroRuntimeException(e); } } }
Protocol p = Protocol.parse(handshakeResponse.getServerProtocol());
protocols.put(request.clientHash, remote); HandshakeResponse response = new HandshakeResponse(); if (localHash.equals(request.serverHash)) { response.match =
protocols.put(request.clientHash, remote); HandshakeResponse response = new HandshakeResponse(); if (localHash.equals(request.serverHash)) { response.match =
protocols.put(request.clientHash, remote); HandshakeResponse response = new HandshakeResponse(); if (localHash.equals(request.serverHash)) { response.match =
@Override @SuppressWarnings("unchecked") public HandshakeResponse build() { try { HandshakeResponse record = new HandshakeResponse(); record.match = fieldSetFlags()[0] ? this.match : (org.apache.avro.ipc.HandshakeMatch) defaultValue(fields()[0]); record.serverProtocol = fieldSetFlags()[1] ? this.serverProtocol : (java.lang.String) defaultValue(fields()[1]); record.serverHash = fieldSetFlags()[2] ? this.serverHash : (org.apache.avro.ipc.MD5) defaultValue(fields()[2]); record.meta = fieldSetFlags()[3] ? this.meta : (java.util.Map<java.lang.String,java.nio.ByteBuffer>) defaultValue(fields()[3]); return record; } catch (java.lang.Exception e) { throw new org.apache.avro.AvroRuntimeException(e); } } }