.TH "shevek::server< client, serverdata >::connection" 3 "Wed Jul 9 2014" "libshevek" \" -*- nroff -*- .ad l .nh .SH NAME shevek::server< client, serverdata >::connection \- .PP Base of the client class which is implemented by the calling program\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBshevek::refbase\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "void \fBcontinue_reading\fP ()" .br .RI "\fIThis is called after in->unread (), to resume accepting data from this connection\&. \fP" .ti -1c .RI "\fB~connection\fP ()" .br .RI "\fIDestructor\&. \fP" .in -1c .SS "Public Attributes" .in +1c .ti -1c .RI "Glib::RefPtr< \fBshevek::fd\fP > \fBin\fP" .br .RI "\fIThe input socket\&. The client can stop reading from this connection by calling in->unread ()\&. \fP" .ti -1c .RI "Glib::RefPtr< \fBshevek::fd\fP > \fBout\fP" .br .RI "\fIThe output socket\&. This is used to send data to the connection\&. \fP" .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "\fBconnection\fP ()" .br .RI "\fIThe client class can construct this object with its create function\&. \fP" .ti -1c .RI "Glib::RefPtr< \fBserver\fP< client, .br serverdata > > \fBget_server\fP ()" .br .RI "\fIAccess to the server object which hosts this client\&. \fP" .ti -1c .RI "void \fBdisconnect\fP ()" .br .RI "\fIThis can be called by the client object to close this connection\&. \fP" .in -1c .SS "Friends" .in +1c .ti -1c .RI "class \fBserver< client, serverdata >\fP" .br .in -1c .SH "Detailed Description" .PP .SS "templatestruct shevek::server< client, serverdata >::connection" Base of the client class which is implemented by the calling program\&. A client object is created for every connection which is accepted\&. This class handles server administration and provides access to members from the client class\&. .SH "Author" .PP Generated automatically by Doxygen for libshevek from the source code\&.