protected void writeCall(String methodName,Object[] args) throws Exception {
  huc=u.openConnection();
  huc.setDoOutput(true);
  huc.setDoInput(true);
  huc.setUseCaches(false);
  huc.setRequestProperty("Content-Type","binary/message-pack");
  huc.setReadTimeout(0);
  OutputStream os=huc.getOutputStream();
  LinkedList temp=new LinkedList();
  temp.add(methodName);
  for (  Object o : args)   temp.add(o);
  packer.write(os,temp);
  os.close();
}

protected void writeCall ( String methodName , Object [ ] args ) throws Exception { huc = u . openConnection ( ) ; huc . setDoOutput ( true ) ; huc . setDoInput ( true ) ; huc . setUseCaches ( false ) ; huc . setRequestProperty ( "Content-Type" , "binary/message-pack" ) ; huc . setReadTimeout ( 0 ) ; OutputStream os = huc . getOutputStream ( ) ; LinkedList temp = new LinkedList ( ) ; temp . add ( methodName ) ; for ( Object o : args ) temp . add ( o ) ; packer . write ( os , temp ) ; os . close ( ) ; }
creates an xmlrpc call from the given method name and parameters and sends it
