public int update(ExecutionReport report) { int ret = ContextModulePINVOKE.OrderBook_update__SWIG_1(swigCPtr, ExecutionReport.getCPtr(report)); if (ContextModulePINVOKE.SWIGPendingException.Pending) { throw ContextModulePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual void onExecutionReport(ExecutionReport report) { if (SwigDerivedClassHasMethod("onExecutionReport", swigMethodTypes3)) { ContextModulePINVOKE.Application_onExecutionReportSwigExplicitApplication(swigCPtr, ExecutionReport.getCPtr(report)); } else { ContextModulePINVOKE.Application_onExecutionReport(swigCPtr, ExecutionReport.getCPtr(report)); } if (ContextModulePINVOKE.SWIGPendingException.Pending) { throw ContextModulePINVOKE.SWIGPendingException.Retrieve(); } }