Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

stcpmem.hh

Go to the documentation of this file.
00001 
00002 
00003 #ifndef STCPMEM_HH
00004 #define STCPMEM_HH
00005 
00006 #include "rcs_defs.hh"          /* EXTERN_C_STD_HEADERS */
00007 #include "cms.hh"               /* class CMS */
00008 #include "sokintrf.h"           // struct sockaddr_in
00009 
00010 class STCPMEM:public CMS
00011 {
00012 public:
00013   STCPMEM (char *bufline, char *procline);
00014     virtual ~ STCPMEM ();
00015 
00016   /* Overloaded CMS functions. */
00017   CMS_STATUS clear ();
00018   int check_if_read ();
00019   CMS_STATUS read ();
00020   CMS_STATUS peek ();
00021   CMS_STATUS write (void *data);
00022   CMS_STATUS write_if_read (void *data);
00023   int login (const char *name, const char *passwd);
00024 
00025 protected:
00026   long serial_number;
00027   long returned_serial_number;
00028 #ifndef VXWORKS
00029   struct hostent *server_host_entry;
00030 #endif
00031   struct sockaddr_in server_socket_address;
00032   int socket_fd;
00033   char *temp_buffer;
00034   long temp_buffer_size;
00035   int read_request_issued;
00036   double read_request_time;
00037   int polling;
00038   int lines_to_skip;
00039   CMS_STATUS skip_lines ();
00040   int bytes_at_beginning_of_line;
00041 };
00042 
00043 
00044 
00045 
00046 #endif

Generated on Sun Dec 2 15:56:52 2001 for rcslib by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001