예제 #1
0
 public FtpResponseStream(FtpListenerResponse responese, Stream stream)
     : this(responese)
 {
     m_InternalStream = stream;
 }
예제 #2
0
        private Stream m_InternalStream = null;             // input stream to be read from

        public FtpResponseStream(FtpListenerResponse responese)
        {
            m_Response = responese;
        }
        private FtpListenerSession m_Session = null;                    // reference back to the session it belongs to

        // Methods
        internal FtpListenerContext(FtpListenerSession session, FtpListenerRequest request)
        {
            m_ResponseToClient = new FtpListenerResponse(request, session);
            m_ClientRequest = request;
            m_Session = session;
        }
예제 #4
0
 public FtpResponseStream(FtpListenerResponse responese, Stream stream)
     : this(responese)
 {
     m_InternalStream = stream;
 }
예제 #5
0
        private Stream m_InternalStream        = null;      // input stream to be read from

        public FtpResponseStream(FtpListenerResponse responese)
        {
            m_Response = responese;
        }
        private FtpListenerSession m_Session = null;                    // reference back to the session it belongs to

        // Methods
        internal FtpListenerContext(FtpListenerSession session, FtpListenerRequest request)
        {
            m_ResponseToClient = new FtpListenerResponse(request, session);
            m_ClientRequest    = request;
            m_Session          = session;
        }