public static void Close(SyncEndpointExecutor executor)
 {
     Log.LogInformation((int)EventIds.Close, "[Close] Close began." + GetContextString(executor.Endpoint));
 }
 public static void SetEndpointSuccess(SyncEndpointExecutor executor)
 {
     Log.LogInformation((int)EventIds.SetEndpointSuccess, "[SetEndpointSuccess] Set endpoint succeeded." + GetContextString(executor.Endpoint));
 }
 public static void SetEndpointFailure(SyncEndpointExecutor executor, Exception ex)
 {
     Log.LogError((int)EventIds.SetEndpointFailure, ex, "[SetEndpointFailure] Set endpoint failed." + GetContextString(executor.Endpoint));
 }
 public static void InvokeFailure(SyncEndpointExecutor executor, Exception ex)
 {
     Log.LogError((int)EventIds.InvokeFailure, ex, "[InvokeFailure] Invoke failed." + GetContextString(executor.Endpoint));
 }
 public static void SetEndpoint(SyncEndpointExecutor executor)
 {
     Log.LogInformation((int)EventIds.SetEndpoint, "[SetEndpoint] Set endpoint began." + GetContextString(executor.Endpoint));
 }
 public static void InvokeSuccess(SyncEndpointExecutor executor)
 {
     Log.LogDebug((int)EventIds.InvokeSuccess, "[InvokeSuccess] Invoke succeeded." + GetContextString(executor.Endpoint));
 }
 public static void Invoke(SyncEndpointExecutor executor)
 {
     Log.LogDebug((int)EventIds.Invoke, "[Invoke] Invoke began." + GetContextString(executor.Endpoint));
 }
        public Task <IEndpointExecutor> CreateAsync(Endpoint endpoint, ICheckpointer checkpointer, EndpointExecutorConfig endpointExecutorConfig)
        {
            IEndpointExecutor executor = new SyncEndpointExecutor(endpoint, checkpointer, endpointExecutorConfig);

            return(Task.FromResult(executor));
        }
        public Task <IEndpointExecutor> CreateAsync(Endpoint endpoint)
        {
            IEndpointExecutor executor = new SyncEndpointExecutor(endpoint, DefaultCheckpointer, this.config);

            return(Task.FromResult(executor));
        }
Example #10
0
 public static void CloseSuccess(SyncEndpointExecutor executor)
 {
     Log.LogInformation((int)EventIds.CloseSuccess, "[CloseSuccess] Close succeeded." + GetContextString(executor.Endpoint));
 }