示例#1
0
    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);
    }
示例#2
0
 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();
     }
 }