code: @Override
      public void call(String method, Object[] args)
          throws IOException
      {
          writeVersion();
  
          int length = args != null ? args.length : 0;
  
          startCall(method, length);
  
          for (int i = 0; i < length; i++) {
              writeObject(args[i]);
          }
  
          completeCall();
  
          flush();
      }
docs: Writes a complete method call.