@Override public WireFormat getWireFormat() { return getTextWireFormat(); } }
@Override public WireFormat getWireFormat() { return getTextWireFormat(); } }
@Override public WireFormat getWireFormat() { return getTextWireFormat(); } }
String data = getTextWireFormat().marshalText(command); byte[] bytes = data.getBytes("UTF-8"); if (useCompression && canSendCompressed && bytes.length > minSendAsCompressedSize) {
String data = getTextWireFormat().marshalText(command); byte[] bytes = data.getBytes("UTF-8"); if (useCompression && canSendCompressed && bytes.length > minSendAsCompressedSize) {
receiveCounter++; DataInputStream stream = createDataInputStream(answer); Object command = getTextWireFormat().unmarshal(stream); if (command == null) { LOG.debug("Received null command from url: " + remoteUrl);
String data = getTextWireFormat().marshalText(command); byte[] bytes = data.getBytes("UTF-8"); if (useCompression && canSendCompressed && bytes.length > minSendAsCompressedSize) {
String data = getTextWireFormat().marshalText(command); byte[] bytes = data.getBytes("UTF-8"); if (useCompression && canSendCompressed && bytes.length > minSendAsCompressedSize) {
receiveCounter++; DataInputStream stream = createDataInputStream(answer); Object command = getTextWireFormat().unmarshal(stream); if (command == null) { LOG.debug("Received null command from url: " + remoteUrl);
receiveCounter++; DataInputStream stream = createDataInputStream(answer); Object command = getTextWireFormat().unmarshal(stream); if (command == null) { LOG.debug("Received null command from url: " + remoteUrl);
receiveCounter++; DataInputStream stream = createDataInputStream(answer); Object command = (Object)getTextWireFormat().unmarshal(stream); if (command == null) { LOG.debug("Received null command from url: " + remoteUrl);