mirror of
https://github.com/gigablast/open-source-search-engine.git
synced 2024-10-05 20:58:21 +03:00
35 lines
517 B
C++
35 lines
517 B
C++
// Zak Betz, copyright Gigablast Jan 2005
|
|
|
|
//Get stuff from remote hosts...
|
|
//
|
|
|
|
|
|
#ifndef _MSG1F_H_
|
|
#define _MSG1F_H_
|
|
#include "UdpSlot.h"
|
|
#include "UdpServer.h"
|
|
#include "TcpSocket.h"
|
|
|
|
|
|
class Msg1f {
|
|
public:
|
|
Msg1f();
|
|
~Msg1f();
|
|
|
|
static bool init();
|
|
|
|
static bool getLog(long hostId,
|
|
long numBytes,
|
|
void *state,
|
|
void ( *callback) (void *state, UdpSlot* slot));
|
|
|
|
|
|
private:
|
|
/* TcpSocket *m_socket; */
|
|
/* void *m_state; */
|
|
/* void ( *m_callback) (void *state)); */
|
|
};
|
|
|
|
|
|
#endif
|