namespace InABox.IPC
{

    public enum RPCTransportCloseEventType
    {
        Closed,
        Error
    }
    
    public class RPCTransportCloseArgs
    {
        public IRPCSession? Session { get; set; }
        
        public RPCTransportCloseEventType Type { get; }

        public RPCTransportCloseArgs(IRPCSession? session, RPCTransportCloseEventType type)
        {
            Session = session;
            Type = type;
        }
    }
}