Stellarium  26.3
Public Member Functions
Lx200TcpConnection Class Reference

TCP/IP connection to a Meade LX200 or a compatible telescope. More...

#include <Lx200Connection.hpp>

Public Member Functions

 Lx200TcpConnection (Server &server, const char *host, int port)
 
- Public Member Functions inherited from Lx200ConnectionImpl< TcpConnection >
 Lx200ConnectionImpl (Server &server, TransportArgs... transport_args)
 
void sendGoto (unsigned int ra_int, int dec_int) override
 
void sendSync (unsigned int ra_int, int dec_int) override
 
void sendCommand (Lx200Command *command) override
 
void sendAbort () override
 Delete pending commands and send abort signal.
 
bool isClosed (void) const override
 Returns true if the underlying connection is closed.
 
void setTimeBetweenCommands (long long int micro_seconds)
 
- Public Member Functions inherited from TcpConnection
 TcpConnection (Server &server, const char *host, int port)
 
- Public Member Functions inherited from Connection
 Connection (Server &server, SOCKET fd)
 
long long int getServerMinusClientTime (void) const
 
- Public Member Functions inherited from Socket
void hangup ()
 

Additional Inherited Members

- Protected Member Functions inherited from Connection
void performReading (void)
 Receives data from a TCP/IP connection and stores it in the read buffer.
 
void performWriting (void)
 Sends the contents of the write buffer over a TCP/IP connection.
 
- Protected Member Functions inherited from Socket
 Socket (Server &server, SOCKET fd)
 
int readNonblocking (void *buf, int count)
 
int writeNonblocking (const void *buf, int count)
 
- Protected Attributes inherited from Connection
char read_buff [120]
 
char * read_buff_end
 
char write_buff [120]
 
char * write_buff_end
 
- Protected Attributes inherited from Socket
Server & server
 
SOCKET fd
 

Detailed Description

TCP/IP connection to a Meade LX200 or a compatible telescope.