Stellarium 0.15.2
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
Socket Class Referenceabstract
+ Inheritance diagram for Socket:
+ Collaboration diagram for Socket:

Public Member Functions

void hangup ()
 
virtual void prepareSelectFds (fd_set &read_fds, fd_set &write_fds, int &fd_max)=0
 
virtual void handleSelectFds (const fd_set &read_fds, const fd_set &write_fds)=0
 
virtual bool isClosed () const
 
virtual bool isTcpConnection () const
 
virtual void sendPosition (unsigned int ra_int, int dec_int, int status)
 

Protected Member Functions

 Socket (Server &server, SOCKET fd)
 
int readNonblocking (void *buf, int count)
 
int writeNonblocking (const void *buf, int count)
 

Protected Attributes

Serverserver
 
SOCKET fd
 

Detailed Description

Definition at line 76 of file Socket.hpp.


The documentation for this class was generated from the following file: