10 #define MESSAGEGRAM_MAXDATA 1400 11 #define MESSAGE_UDP_MAXDATA 65507 12 #define MAX_RANDOM_BIND_TRIES 1024 27 uint8_t data[MESSAGE_UDP_MAXDATA];
38 virtual bool recvFrom(Messagegram *) = 0;
39 virtual bool recvFrom(Messagegram *,
long seconds,
long uSeconds) = 0;
40 virtual bool recvLargeFrom(Messagegram *) = 0;
41 virtual void getRecvAddress(uint32_t &address) = 0;
42 virtual void convertAddressToStr(
const uint32_t address,
char *addStr) = 0;
43 virtual bool replyLast(
const Messagegram &) = 0;
44 virtual bool sendLargeTo(
const Messagegram &,
const char *, uint16_t) = 0;
45 virtual bool sendTo(
const Messagegram &,
const char *, uint16_t) = 0;
46 virtual bool bind(
const char *, uint16_t) = 0;
47 virtual bool bind(uint16_t) = 0;
48 virtual uint16_t bindRandom() = 0;
49 virtual bool postInit() = 0;
50 virtual bool setReceiveBufferSize(
int bufferSize) = 0;
51 virtual bool setSendBufferSize(
int bufferSize) = 0;
52 virtual bool setBroadcast(
bool boardcast) = 0;
53 virtual bool setReusePort(
bool reuse) = 0;
54 virtual bool setReuseAddress(
bool reuse) = 0;
55 virtual void shutdown() = 0;
63 #endif // __MESSAGEI_H__ Message Sender/Receiver.
Definition: MessageI.h:35
kernel
Definition: namespace.dox:3
Base for all interfacable components.
Definition: Component.h:20
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192