-- 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.IServerChannelSinkStack.Ref is access;
with type MSSyst.Runtime.Remoting.Channels.IServerResponseChannelSinkStack.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 type MSSyst.Object.Ref is access;
with type MSSyst.Type_k.Ref is access;
with type MSSyst.Runtime.Remoting.Channels.IServerChannelSink.Ref is access;
with type MSSyst.IAsyncResult.Ref is access;
with type MSSyst.String.Ref is access;
with MSSyst.Object;
package MSSyst.Runtime.Remoting.Channels.ServerChannelSinkStack 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(
         I_IServerChannelSinkStack : MSSyst.Runtime.Remoting.Channels.IServerChannelSinkStack.Ref;
         I_IServerResponseChannelSinkStack : MSSyst.Runtime.Remoting.Channels.IServerResponseChannelSinkStack.Ref
      ) is new MSSyst.Object.Typ with record
      null;
   end record;
   function new_ServerChannelSinkStack(
      This : Ref := null) return Ref;
   procedure AsyncProcessResponse(
      This : access Typ;
      msg : MSSyst.Runtime.Remoting.Messaging.IMessage.Ref;
      headers : MSSyst.Runtime.Remoting.Channels.ITransportHeaders.Ref;
      stream : MSSyst.IO.Stream.Ref);
   function GetResponseStream(
      This : access Typ;
      msg : MSSyst.Runtime.Remoting.Messaging.IMessage.Ref;
      headers : MSSyst.Runtime.Remoting.Channels.ITransportHeaders.Ref) return MSSyst.IO.Stream.Ref;
   function Pop(
      This : access Typ;
      sink : MSSyst.Runtime.Remoting.Channels.IServerChannelSink.Ref) return MSSyst.Object.Ref;
   procedure Push(
      This : access Typ;
      sink : MSSyst.Runtime.Remoting.Channels.IServerChannelSink.Ref;
      state : MSSyst.Object.Ref);
   procedure ServerCallback(
      This : access Typ;
      ar : MSSyst.IAsyncResult.Ref);
   procedure Store(
      This : access Typ;
      sink : MSSyst.Runtime.Remoting.Channels.IServerChannelSink.Ref;
      state : MSSyst.Object.Ref);
   procedure StoreAndDispatch(
      This : access Typ;
      sink : MSSyst.Runtime.Remoting.Channels.IServerChannelSink.Ref;
      state : MSSyst.Object.Ref);
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_ServerChannelSinkStack);
   pragma Import(MSIL,AsyncProcessResponse,"AsyncProcessResponse");
   pragma Import(MSIL,GetResponseStream,"GetResponseStream");
   pragma Import(MSIL,Pop,"Pop");
   pragma Import(MSIL,Push,"Push");
   pragma Import(MSIL,ServerCallback,"ServerCallback");
   pragma Import(MSIL,Store,"Store");
   pragma Import(MSIL,StoreAndDispatch,"StoreAndDispatch");
end MSSyst.Runtime.Remoting.Channels.ServerChannelSinkStack;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Runtime.Remoting.Channels.ServerChannelSinkStack,
   ".ver 1.0.5000.0 .publickeytoken=( 96 9d b8 05 3d 33 22 ac )",
   "[mscorlib]System.Runtime.Remoting.Channels.ServerChannelSinkStack");
