Unverified Commit e02b4af4 authored by Andrea Orlati's avatar Andrea Orlati Committed by GitHub
Browse files

fix issue #660: header file added (#661)

parent 868b6c27
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
#ifndef _MEDICINAVERTEXLIBRARY_H
#define _MEDICINAVERTEXLIBRARY_H

/* ***************************************************************************************************** */
/* IRA Istituto di Radioastronomia                                                                       */
/*                                                                                                       */
/* This code is under GNU General Public Licence (GPL).                                                  */
/*                                                                                                       */
/*                                                                                                       */
/* Who                                when            What                                               */
/* Andrea Orlati(aorlati@ira.inaf.it)  22/09/2021	  Creation       
*/
#include <IRA>

class CMedicinaVertex {
public:
	CMedicinaVertex(const IRA::CString& addr,const DWORD& port);
	virtual ~CMedicinaVertex();
	inline IRA::CString getLastErrorMessage() const { return m_lastErrorMessage; }
	
	bool sendTo(const void *buffer,int size);
	
protected:
	IRA::CString m_vertexAddr;
	DWORD m_vertexPort;
	IRA::CString m_lastErrorMessage;
	IRA::CSocket m_sock;
	IRA::CError m_err;
};



#endif
 No newline at end of file