@Override void write(MessageOutputStream out) { String hostInfo = _cpu + " " + _os; out.writeUTF(hostInfo, 0, hostInfo.length()); }
@Override void write(MessageOutputStream out) { String hostInfo = _cpu + " " + _os; out.writeUTF(hostInfo, 0, hostInfo.length()); }
@Override void write(MessageOutputStream out) { String hostInfo = _cpu + " " + _os; out.writeUTF(hostInfo, 0, hostInfo.length()); }
@Override void write(MessageOutputStream out) { out.writeShort(_priority); out.writeShort(_weight); out.writeShort(_port); if (DNSIncoming.USE_DOMAIN_NAME_FORMAT_FOR_SRV_TARGET) { out.writeName(_server); } else { // [PJYF Nov 13 2010] Do we still need this? This looks really bad. All label are supposed to start by a length. out.writeUTF(_server, 0, _server.length()); // add a zero byte to the end just to be safe, this is the strange form // used by the BonjourConformanceTest out.writeByte(0); } }
@Override void write(MessageOutputStream out) { out.writeShort(_priority); out.writeShort(_weight); out.writeShort(_port); if (DNSIncoming.USE_DOMAIN_NAME_FORMAT_FOR_SRV_TARGET) { out.writeName(_server); } else { // [PJYF Nov 13 2010] Do we still need this? This looks really bad. All label are supposed to start by a length. out.writeUTF(_server, 0, _server.length()); // add a zero byte to the end just to be safe, this is the strange form // used by the BonjourConformanceTest out.writeByte(0); } }
@Override void write(MessageOutputStream out) { out.writeShort(_priority); out.writeShort(_weight); out.writeShort(_port); if (DNSIncoming.USE_DOMAIN_NAME_FORMAT_FOR_SRV_TARGET) { out.writeName(_server); } else { // [PJYF Nov 13 2010] Do we still need this? This looks really bad. All label are supposed to start by a length. out.writeUTF(_server, 0, _server.length()); // add a zero byte to the end just to be safe, this is the strange form // used by the BonjourConformanceTest out.writeByte(0); } }
@Override void write(MessageOutputStream out) { out.writeShort(_priority); out.writeShort(_weight); out.writeShort(_port); if (DNSIncoming.USE_DOMAIN_NAME_FORMAT_FOR_SRV_TARGET) { out.writeName(_server); } else { // [PJYF Nov 13 2010] Do we still need this? This looks really bad. All label are supposed to start by a length. out.writeUTF(_server, 0, _server.length()); // add a zero byte to the end just to be safe, this is the strange form // used by the BonjourConformanceTest out.writeByte(0); } }
@Override void write(MessageOutputStream out) { String hostInfo = _cpu + " " + _os; out.writeUTF(hostInfo, 0, hostInfo.length()); }