1 /******************************************************************************
2     (c) 2001-2002 Christine Caulfield                 christine.caulfield@googlemail.com
3 
4     This program is free software; you can redistribute it and/or modify
5     it under the terms of the GNU General Public License as published by
6     the Free Software Foundation; either version 2 of the License, or
7     any later version.
8 
9     This program is distributed in the hope that it will be useful,
10     but WITHOUT ANY WARRANTY; without even the implied warranty of
11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12     GNU General Public License for more details.
13 ******************************************************************************/
14 
15 class lloginSession: public ClientSession
16 {
17  public:
18   lloginSession(class LATConnection &p,
19 		unsigned char remid, unsigned char localid, char *lta, int);
20 
21   virtual ~lloginSession();
22   virtual int new_session(unsigned char *remote_node,
23 			  char *service, char *port, char *password, unsigned char c);
24   virtual void do_read();
25   virtual void disconnect_session(int reason);
26 
27   virtual void connect();
restart_pty()28   virtual void restart_pty() {disconnect_sock();};
29   virtual void show_status(unsigned char *node, LAT_StatusEntry *entry);
30   virtual void start_port();
31 
32  private:
33   void disconnect_sock();
34 
35   bool have_been_queued;
36   char remote_pass[256];
37 };
38