namespace Capnp.Rpc
{
///
/// A uni-directional endpoint, used in conjunction with the .
///
public interface IEndpoint
{
///
/// Transmit the given Cap'n Proto message over this endpoint.
///
void Forward(WireFrame frame);
///
/// Indicates that the endpoint should flush any buffered frames.
///
void Flush();
///
/// Close this endpoint.
///
void Dismiss();
}
}