SeaBreeze
TCPIPv4SocketTransferHelper.h
Go to the documentation of this file.
1 /***************************************************/
30 #ifndef SEABREEZE_TCPIPV4SOCKETTRANSFERHELPER_H
31 #define SEABREEZE_TCPIPV4SOCKETTRANSFERHELPER_H
32 
34 #include "native/network/Socket.h"
35 
36 namespace seabreeze {
38  public:
40  virtual ~TCPIPv4SocketTransferHelper();
41 
42  virtual int receive(std::vector<byte> &buffer, unsigned int length)
43  throw (BusTransferException);
44  virtual int send(const std::vector<byte> &buffer, unsigned int length) const
45  throw (BusTransferException);
46 
47  protected:
48  Socket *socket;
49  };
50 }
51 
52 #endif /* SEABREEZE_TCPIPV4SOCKETTRANSFERHELPER_H */
Definition: BusTransferException.h:41
Definition: Socket.h:44
Definition: TCPIPv4SocketTransferHelper.h:37
Definition: TransferHelper.h:46
Encapsulates all SeaBreeze classes.
Definition: DeviceFactory.h:42