Files
mono/mcs/class/System.Core/System.IO.Pipes/PipeInterfaces.cs
T
Atsushi Eno 6a93ece2a5 Adding System.IO.Pipes implementation.
svn path=/trunk/mcs/; revision=140228
2009-08-19 10:19:40 +00:00

37 lines
597 B
C#

using Microsoft.Win32.SafeHandles;
namespace System.IO.Pipes
{
// Common interfaces
interface IPipe
{
SafePipeHandle Handle { get; }
void WaitForPipeDrain ();
}
interface IAnonymousPipeClient : IPipe
{
}
interface IAnonymousPipeServer : IPipe
{
SafePipeHandle ClientHandle { get; }
void DisposeLocalCopyOfClientHandle ();
}
interface INamedPipeClient : IPipe
{
void Connect ();
void Connect (int timeout);
int NumberOfServerInstances { get; }
bool IsAsync { get; }
}
interface INamedPipeServer : IPipe
{
void Disconnect ();
void WaitForConnection ();
}
}