if (parameters == null)
parameters = new Object[] {};
Object[] invokeparams = new Object[] { objectid, method, parameters, // vargs
Collections.EMPTY_MAP // kwargs
};
Pickler pickler=new Pickler(false);
byte[] pickle = pickler.dumps(invokeparams);
pickler.close();
byte[] headerdata = MessageFactory.createMsgHeader(MessageFactory.MSG_INVOKE, pickle, flags, sequenceNr);
Message resultmsg;
synchronized (this.sock) {
IOUtil.send(sock_out, headerdata);
IOUtil.send(sock_out, pickle);