mirror of
https://github.com/FabInfra/capnproto-dotnetcore_Runtime.git
synced 2025-03-12 14:51:41 +01:00
23 lines
596 B
C#
23 lines
596 B
C#
namespace Capnp.Rpc
|
|
{
|
|
/// <summary>
|
|
/// A uni-directional endpoint, used in conjunction with the <see cref="RpcEngine"/>.
|
|
/// </summary>
|
|
public interface IEndpoint
|
|
{
|
|
/// <summary>
|
|
/// Transmit the given Cap'n Proto message over this endpoint.
|
|
/// </summary>
|
|
void Forward(WireFrame frame);
|
|
|
|
/// <summary>
|
|
/// Indicates that the endpoint should flush any buffered frames.
|
|
/// </summary>
|
|
void Flush();
|
|
|
|
/// <summary>
|
|
/// Close this endpoint.
|
|
/// </summary>
|
|
void Dismiss();
|
|
}
|
|
} |