Пример #1
0
 public static void Close(SyncEndpointExecutor executor)
 {
     Log.LogInformation((int)EventIds.Close, "[Close] Close began." + GetContextString(executor.Endpoint));
 }
Пример #2
0
 public static void SetEndpointSuccess(SyncEndpointExecutor executor)
 {
     Log.LogInformation((int)EventIds.SetEndpointSuccess, "[SetEndpointSuccess] Set endpoint succeeded." + GetContextString(executor.Endpoint));
 }
Пример #3
0
 public static void SetEndpointFailure(SyncEndpointExecutor executor, Exception ex)
 {
     Log.LogError((int)EventIds.SetEndpointFailure, ex, "[SetEndpointFailure] Set endpoint failed." + GetContextString(executor.Endpoint));
 }
Пример #4
0
 public static void InvokeFailure(SyncEndpointExecutor executor, Exception ex)
 {
     Log.LogError((int)EventIds.InvokeFailure, ex, "[InvokeFailure] Invoke failed." + GetContextString(executor.Endpoint));
 }
Пример #5
0
 public static void SetEndpoint(SyncEndpointExecutor executor)
 {
     Log.LogInformation((int)EventIds.SetEndpoint, "[SetEndpoint] Set endpoint began." + GetContextString(executor.Endpoint));
 }
Пример #6
0
 public static void InvokeSuccess(SyncEndpointExecutor executor)
 {
     Log.LogDebug((int)EventIds.InvokeSuccess, "[InvokeSuccess] Invoke succeeded." + GetContextString(executor.Endpoint));
 }
Пример #7
0
 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));
        }
Пример #10
0
 public static void CloseSuccess(SyncEndpointExecutor executor)
 {
     Log.LogInformation((int)EventIds.CloseSuccess, "[CloseSuccess] Close succeeded." + GetContextString(executor.Endpoint));
 }