if (myPutSocketTextWriter == null){ myLogger.error("socket wasn't initialized"); return; }
    public void put(double[] inputVector) {        initialize();        myLogger.debug("put method");        try {            myLogger.debug("sending PUT request: ");            myPutSocketTextWriter.write(PUT_REQUEST + "\n");            myPutSocketTextWriter.flush();            myLogger.debug("sending vector length: " + inputVector.length);            myPutSocketDataOutputStream.writeInt(inputVector.length);            myPutSocketDataOutputStream.flush();            for (int i = 0; i < inputVector.length; i++) {                myLogger.debug("sending double: " + inputVector[i]);                myPutSocketDataOutputStream.writeDouble(inputVector[i]);                myPutSocketDataOutputStream.flush();            }        } catch (IOException e) {            myLogger.error(e);            myLogger.error("Had problems sending doubles to server");        }    }