return msg;
}
private Message invokeOperation(Message msg) {
OtpSelf self = null;
OtpPeer other = null;
OtpConnection connection = null;
try {
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());