runtime.csharp.IRT.Transport.Client.IClientTranport.cs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of idealingua-v1-runtime-rpc-c-sharp_2.13 Show documentation
Show all versions of idealingua-v1-runtime-rpc-c-sharp_2.13 Show documentation
idealingua-v1-runtime-rpc-c-sharp
The newest version!
using System;
using System.Collections.Generic;
using IRT.Transport.Authorization;
namespace IRT.Transport.Client {
public interface IClientTransport where C: class, IClientTransportContext {
void Send(string service, string method, I payload, ClientTransportCallback callback, C ctx = null);
void SetAuthorization(AuthMethod method);
AuthMethod GetAuthorization();
void SetHeaders(Dictionary headers);
Dictionary GetHeaders();
}
public interface IClientSocketTransport: IClientTransport where C: class, IClientTransportContext {
bool RegisterBuzzer(IServiceDispatcher buzzer);
bool UnregisterBuzzer(string id);
void SetBuzzerContext(C context);
C GetBuzzerContext();
}
}