|
| Boapns (BString name="") |
|
BError | getVersion (BString &version) |
|
BError | getEntryList (BList< BoapEntry > &entryList) |
|
BError | getEntry (BString name, BoapEntry &entry) |
|
BError | addEntry (BoapEntry entry) |
|
BError | delEntry (BString name) |
|
BError | getNewName (BString &name) |
|
| BoapClientObject (BString name="") |
|
virtual | ~BoapClientObject () |
|
BError | connectService (BString name) |
| Connects to the named service. More...
|
|
BError | disconnectService () |
| Disconnects from the named service. More...
|
|
BString | getServiceName () |
| Get the name of the service. More...
|
|
BError | ping (BUInt32 &apiVersion) |
| Pings the connection and finds the remotes version number. More...
|
|
BError | setConnectionPriority (BoapPriority priority) |
| Sets the connection priority. More...
|
|
void | setMaxLength (BUInt32 maxLength) |
| Sets the maximum packet length. More...
|
|
void | setTimeout (int timeout) |
| Sets the timeout in micro seconds. -1 is wait indefinitely. More...
|
|
| BoapClientObject (BString name) |
|
BError | connectService (BString name) |
|
| BSocket () |
|
| BSocket (int fd) |
|
| BSocket (NType type) |
|
| BSocket (int domain, int type, int protocol) |
|
| ~BSocket () |
|
BError | init (int domain, int type, int protocol) |
|
BError | init (NType type) |
|
void | setFd (int fd) |
|
int | getFd () |
|
BError | bind (const BSocketAddress &add) |
|
BError | connect (const BSocketAddress &add) |
|
BError | shutdown (int how) |
|
BError | close () |
|
BError | listen (int backlog=5) |
|
BError | accept (int &fd) |
|
BError | accept (int &fd, BSocketAddress &address) |
|
BError | send (const void *buf, BSize nbytes, BSize &nbytesSent, int flags=0) |
|
BError | sendTo (const BSocketAddress &address, const void *buf, BSize nbytes, BSize &nbytesSent, int flags=0) |
|
BError | recv (void *buf, BSize maxbytes, BSize &nbytesRecv, int flags=0) |
|
BError | recvFrom (BSocketAddress &address, void *buf, BSize maxbytes, BSize &nbytesRecv, int flags=0) |
|
BError | recvWithTimeout (void *buf, BSize maxbytes, BSize &nbytesRecv, int timeout, int flags=0) |
|
BError | recvFromWithTimeout (BSocketAddress &address, void *buf, BSize maxbytes, BSize &nbytesRecv, int timeout, int flags=0) |
|
BError | setSockOpt (int level, int optname, void *optval, unsigned int optlen) |
|
BError | getSockOpt (int level, int optname, void *optval, unsigned int *optlen) |
|
BError | setReuseAddress (int on) |
|
BError | setBroadCast (int on) |
|
BError | setPriority (Priority priority) |
|
BError | getMTU (uint32_t &mtu) |
|
BError | getAddress (BSocketAddress &address) |
|