-- Autogenerated by MSIL2Ada v. 2
-- By: Martin C. Carlisle
--     Department of Computer Science
--     US Air Force Academy
--     carlislem@acm.org
pragma Extensions_Allowed(On);
with MSSyst.Object;
with MSIL_Types;
use MSIL_Types;
with type MSSyst.Runtime.Remoting.Channels.IChannelSinkBase.Ref is access;
with type MSSyst.Runtime.Remoting.Channels.IServerResponseChannelSinkStack.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.Runtime.Remoting.Messaging.IMessage.Ref is access;
with type MSSyst.Runtime.Remoting.Channels.ITransportHeaders.Ref is access;
with type MSSyst.IO.Stream.Ref is access;
with MSSyst.Runtime.Remoting.Channels.ServerProcessing;
with type MSSyst.Runtime.Remoting.Channels.IServerChannelSinkStack.Ref is access;
with type MSSyst.Runtime.Remoting.Messaging.IMessage.Ref_addrof is access;
with type MSSyst.Runtime.Remoting.Channels.ITransportHeaders.Ref_addrof is access;
with type MSSyst.IO.Stream.Ref_addrof is access;
package MSSyst.Runtime.Remoting.Channels.IServerChannelSink is
   type Typ;
   type Ref is access all Typ'Class;
   type Ref_addrof is access all Ref;
   type Ref_Arr is array(Natural range <>) of Ref;
   type Ref_Array is access all Ref_Arr;
   type Ref_Array_addrof is access all Ref_Array;
   type Typ (Self : access MSSyst.Object.Typ'Class)
      is abstract new MSSyst.Object.Typ with null record;
   pragma MSIL_Interface(Typ);
   procedure AsyncProcessResponse(
      This : access Typ;
      sinkStack : MSSyst.Runtime.Remoting.Channels.IServerResponseChannelSinkStack.Ref;
      state : MSSyst.Object.Ref;
      msg : MSSyst.Runtime.Remoting.Messaging.IMessage.Ref;
      headers : MSSyst.Runtime.Remoting.Channels.ITransportHeaders.Ref;
      stream : MSSyst.IO.Stream.Ref) is abstract;
   function get_NextChannelSink(
      This : access Typ) return MSSyst.Runtime.Remoting.Channels.IServerChannelSink.Ref is abstract;
   function GetResponseStream(
      This : access Typ;
      sinkStack : MSSyst.Runtime.Remoting.Channels.IServerResponseChannelSinkStack.Ref;
      state : MSSyst.Object.Ref;
      msg : MSSyst.Runtime.Remoting.Messaging.IMessage.Ref;
      headers : MSSyst.Runtime.Remoting.Channels.ITransportHeaders.Ref) return MSSyst.IO.Stream.Ref is abstract;
   function ProcessMessage(
      This : access Typ;
      sinkStack : MSSyst.Runtime.Remoting.Channels.IServerChannelSinkStack.Ref;
      requestMsg : MSSyst.Runtime.Remoting.Messaging.IMessage.Ref;
      requestHeaders : MSSyst.Runtime.Remoting.Channels.ITransportHeaders.Ref;
      requestStream : MSSyst.IO.Stream.Ref;
      responseMsg : MSSyst.Runtime.Remoting.Messaging.IMessage.Ref_addrof;
      responseHeaders : MSSyst.Runtime.Remoting.Channels.ITransportHeaders.Ref_addrof;
      responseStream : MSSyst.IO.Stream.Ref_addrof) return MSSyst.Runtime.Remoting.Channels.ServerProcessing.Valuetype is abstract;
private
   pragma Import(MSIL,AsyncProcessResponse,"AsyncProcessResponse");
   pragma Import(MSIL,get_NextChannelSink,"get_NextChannelSink");
   pragma Import(MSIL,GetResponseStream,"GetResponseStream");
   pragma Import(MSIL,ProcessMessage,"ProcessMessage");
end MSSyst.Runtime.Remoting.Channels.IServerChannelSink;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Runtime.Remoting.Channels.IServerChannelSink,
   ".ver 1:0:5000:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[mscorlib]System.Runtime.Remoting.Channels.IServerChannelSink");
