protected override APIOperation GetOperationImplementation(SafeType <APIOperation> api) { InvocationHandler handler = new RemoteOperationInvocationHandler( GetAPIConfiguration(), api); APIOperation proxy = NewAPIOperationProxy(api, handler); // add logging.. proxy = CreateLoggingProxy(api, proxy); return(proxy); }
protected override APIOperation GetOperationImplementation(SafeType <APIOperation> api) { // add remote proxy InvocationHandler handler = new RemoteOperationInvocationHandler( (RemoteConnectorInfoImpl)GetAPIConfiguration().ConnectorInfo, remoteConnectorFacadeKey, api); APIOperation proxy = NewAPIOperationProxy(api, handler); // now wrap the proxy in the appropriate timeout proxy proxy = CreateTimeoutProxy(api, proxy); // add logging proxy proxy = CreateLoggingProxy(api, proxy); return(proxy); }
protected override APIOperation GetOperationImplementation(SafeType<APIOperation> api) { // add remote proxy InvocationHandler handler = new RemoteOperationInvocationHandler( (RemoteConnectorInfoImpl)GetAPIConfiguration().ConnectorInfo, remoteConnectorFacadeKey, api); APIOperation proxy = NewAPIOperationProxy(api, handler); // now wrap the proxy in the appropriate timeout proxy proxy = CreateTimeoutProxy(api, proxy); // add logging proxy proxy = CreateLoggingProxy(api, proxy); return proxy; }
protected override APIOperation GetOperationImplementation(SafeType<APIOperation> api) { InvocationHandler handler = new RemoteOperationInvocationHandler( GetAPIConfiguration(), api); APIOperation proxy = NewAPIOperationProxy(api, handler); // add logging.. proxy = CreateLoggingProxy(api, proxy); return proxy; }
protected override APIOperation GetOperationImplementation(SafeType<APIOperation> api) { if (api.RawType == typeof(IConnectorEventSubscriptionApiOp) || api.RawType == typeof(ISyncEventSubscriptionApiOp)) { //Not supported remotely with legacy communication protocol return null; } // add remote proxy InvocationHandler handler = new RemoteOperationInvocationHandler( (RemoteConnectorInfoImpl)GetAPIConfiguration().ConnectorInfo, remoteConnectorFacadeKey, api); APIOperation proxy = NewAPIOperationProxy(api, handler); // now wrap the proxy in the appropriate timeout proxy proxy = CreateTimeoutProxy(api, proxy); // add logging proxy proxy = CreateLoggingProxy(api, proxy); return proxy; }