|
Symbian platform (C++)
SDK native APIs, runtime and tooling
|
Classes | |
| class | ActiveTcpListener |
| A single pending RSocket accept managed by a Symbian active scheduler. More... | |
| class | HttpClient |
| Native HTTP client over the existing worker-owned TCP runtime. More... | |
| class | HttpServer |
| Native bounded HTTP listener; each accepted exchange owns its socket. More... | |
| struct | NativeActiveTcpListener |
| struct | NativeTcpClient |
| struct | NativeTcpListener |
| struct | NativeTcpSession |
| class | TcpAcceptObserver |
| Receives one accepted stream or native error on the event thread. More... | |
| class | TcpByteStream |
| Owning TCP transport for both HTTP and WebSocket streams. More... | |
| class | TcpClient |
| One connected IPv4 TCP stream backed by Symbian RSocket. More... | |
| class | TcpListener |
| One bounded IPv4 listener backed by Symbian RSocket. More... | |
| class | TlsStream |
| Worker-owned TLS transport for outbound HTTP and inbound sessions. More... | |
| class | WebSocketServer |
| Reusable bounded IPv4 WebSocket listener on a worker thread. More... | |
| class | WebSocketStream |
| Synchronous worker-owned WebSocket using the SDK TCP runtime. More... | |
Typedefs | |
| using | NativeAcceptCallback = void(*)(void *context, NativeTcpClient *accepted, int result) |
| using | TlsServer = TlsStream |
Enumerations | |
| enum class | TlsVersion { kTls12 , kTls13 } |
| One protocol version supported by the vendored Mbed TLS server. More... | |
Functions | |
| absl::StatusOr< std::array< std::uint8_t, 4 > > | BroadcastProbe (std::uint16_t port, std::span< const std::uint8_t > request, std::span< const std::uint8_t > expected_reply, absl::Time deadline=absl::InfiniteFuture()) |
| Find a local IPv4 peer by one UDP broadcast request and exact reply. | |
| int | SymbianDeviceActiveTcpListen (unsigned address, unsigned port, bool share_with_workers, void *context, NativeAcceptCallback callback, NativeActiveTcpListener **output) |
| int | SymbianDeviceActiveTcpAcceptNext (NativeActiveTcpListener *listener) |
| void | SymbianDeviceActiveTcpClose (NativeActiveTcpListener *listener) |
| int | WaitForSocketRequest (RSocket &socket, TRequestStatus &request, std::int64_t deadline, void(RSocket::*cancel)()) |
| int | WaitForResolverRequest (RHostResolver &resolver, TRequestStatus &request, std::int64_t deadline) |
| int | SymbianDeviceResolveIpv4 (const char *hostname, int length, unsigned *address, std::int64_t deadline) |
| int | SymbianDeviceTcpSetNoDelay (NativeTcpClient *client, bool enabled) |
| void | SymbianDeviceTcpClose (NativeTcpClient *client) |
| int | SymbianDeviceTcpConnect (unsigned address, unsigned port, NativeTcpClient **output, std::int64_t deadline) |
| void | SymbianDeviceTcpListenerClose (NativeTcpListener *listener) |
| int | SymbianDeviceTcpListen (unsigned address, unsigned port, bool share_with_workers, NativeTcpListener **output) |
| int | SymbianDeviceTcpBeginAccept (NativeTcpListener *listener, TRequestStatus *status, NativeTcpClient **output) |
| void | SymbianDeviceTcpCancelAccept (NativeTcpListener *listener) |
| int | SymbianDeviceTcpAccept (NativeTcpListener *listener, NativeTcpClient **output, std::int64_t deadline) |
| int | SymbianDeviceTcpSend (NativeTcpClient *client, const unsigned char *bytes, int length, std::int64_t deadline) |
| int | SymbianDeviceTcpReceive (NativeTcpClient *client, unsigned char *bytes, int capacity, int *received, std::int64_t deadline) |
| using symbian::api::connectivity::NativeAcceptCallback = typedef void (*)(void* context, NativeTcpClient* accepted, int result) |
| using symbian::api::connectivity::TlsServer = typedef TlsStream |
|
strong |
| absl::StatusOr< std::array< std::uint8_t, 4 > > symbian::api::connectivity::BroadcastProbe | ( | std::uint16_t | port, |
| std::span< const std::uint8_t > | request, | ||
| std::span< const std::uint8_t > | expected_reply, | ||
| absl::Time | deadline = absl::InfiniteFuture() |
||
| ) |
Find a local IPv4 peer by one UDP broadcast request and exact reply.
The reply is application-defined and must be authenticated by the caller when its address will be trusted. Both messages are limited to 64 bytes. The receive request is cancelled and drained when deadline expires.
| int symbian::api::connectivity::SymbianDeviceActiveTcpAcceptNext | ( | NativeActiveTcpListener * | listener | ) |
| void symbian::api::connectivity::SymbianDeviceActiveTcpClose | ( | NativeActiveTcpListener * | listener | ) |
| int symbian::api::connectivity::SymbianDeviceActiveTcpListen | ( | unsigned | address, |
| unsigned | port, | ||
| bool | share_with_workers, | ||
| void * | context, | ||
| NativeAcceptCallback | callback, | ||
| NativeActiveTcpListener ** | output | ||
| ) |
| int symbian::api::connectivity::SymbianDeviceResolveIpv4 | ( | const char * | hostname, |
| int | length, | ||
| unsigned * | address, | ||
| std::int64_t | deadline | ||
| ) |
| int symbian::api::connectivity::SymbianDeviceTcpAccept | ( | NativeTcpListener * | listener, |
| NativeTcpClient ** | output, | ||
| std::int64_t | deadline | ||
| ) |
| int symbian::api::connectivity::SymbianDeviceTcpBeginAccept | ( | NativeTcpListener * | listener, |
| TRequestStatus * | status, | ||
| NativeTcpClient ** | output | ||
| ) |
| void symbian::api::connectivity::SymbianDeviceTcpCancelAccept | ( | NativeTcpListener * | listener | ) |
| void symbian::api::connectivity::SymbianDeviceTcpClose | ( | NativeTcpClient * | client | ) |
| int symbian::api::connectivity::SymbianDeviceTcpConnect | ( | unsigned | address, |
| unsigned | port, | ||
| NativeTcpClient ** | output, | ||
| std::int64_t | deadline | ||
| ) |
| int symbian::api::connectivity::SymbianDeviceTcpListen | ( | unsigned | address, |
| unsigned | port, | ||
| bool | share_with_workers, | ||
| NativeTcpListener ** | output | ||
| ) |
| void symbian::api::connectivity::SymbianDeviceTcpListenerClose | ( | NativeTcpListener * | listener | ) |
| int symbian::api::connectivity::SymbianDeviceTcpReceive | ( | NativeTcpClient * | client, |
| unsigned char * | bytes, | ||
| int | capacity, | ||
| int * | received, | ||
| std::int64_t | deadline | ||
| ) |
| int symbian::api::connectivity::SymbianDeviceTcpSend | ( | NativeTcpClient * | client, |
| const unsigned char * | bytes, | ||
| int | length, | ||
| std::int64_t | deadline | ||
| ) |
| int symbian::api::connectivity::SymbianDeviceTcpSetNoDelay | ( | NativeTcpClient * | client, |
| bool | enabled | ||
| ) |
| int symbian::api::connectivity::WaitForResolverRequest | ( | RHostResolver & | resolver, |
| TRequestStatus & | request, | ||
| std::int64_t | deadline | ||
| ) |
| int symbian::api::connectivity::WaitForSocketRequest | ( | RSocket & | socket, |
| TRequestStatus & | request, | ||
| std::int64_t | deadline, | ||
| void(RSocket::*)() | cancel | ||
| ) |