self = new OtpSelf(getClientNodeName());
if (binding.hasCookie()) {
self.setCookie(binding.getCookie());
}
other = new OtpPeer(binding.getNode());
connection = self.connect(other);
Method jmethod = ((JavaOperation) msg.getOperation())
.getJavaMethod();
OtpErlangList params = TypeHelpersProxy.toErlangAsList(msg
.getBody(), jmethod.getParameterAnnotations());
OtpErlangTuple message = MessageHelper.rpcMessage(self.pid(), self