|
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 | 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(*absl_nonnull)(void *absl_nullable context, NativeTcpClient *absl_nullable 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 *absl_nullable context, NativeAcceptCallback callback, NativeActiveTcpListener *absl_nullable *absl_nullable output) |
| int | SymbianDeviceActiveTcpAcceptNext (NativeActiveTcpListener *absl_nullable listener) |
| void | SymbianDeviceActiveTcpClose (NativeActiveTcpListener *absl_nullable listener) |
| int | WaitForSocketRequest (RSocket *absl_nonnull socket, TRequestStatus *absl_nonnull request, std::int64_t deadline, void(RSocket::*absl_nonnull cancel)()) |
| int | WaitForResolverRequest (RHostResolver *absl_nonnull resolver, TRequestStatus *absl_nonnull request, std::int64_t deadline) |
| int | SymbianDeviceResolveIpv4 (const char *absl_nullable hostname, int length, unsigned *absl_nullable address, std::int64_t deadline) |
| int | SymbianDeviceTcpSetNoDelay (NativeTcpClient *absl_nullable client, bool enabled) |
| void | SymbianDeviceTcpClose (NativeTcpClient *absl_nullable client) |
| int | SymbianDeviceTcpConnect (unsigned address, unsigned port, NativeTcpClient *absl_nullable *absl_nullable output, std::int64_t deadline) |
| void | SymbianDeviceTcpListenerClose (NativeTcpListener *absl_nullable listener) |
| int | SymbianDeviceTcpListen (unsigned address, unsigned port, bool share_with_workers, NativeTcpListener *absl_nullable *absl_nullable output) |
| int | SymbianDeviceTcpBeginAccept (NativeTcpListener *absl_nullable listener, TRequestStatus *absl_nullable status, NativeTcpClient *absl_nullable *absl_nullable output) |
| void | SymbianDeviceTcpCancelAccept (NativeTcpListener *absl_nullable listener) |
| int | SymbianDeviceTcpAccept (NativeTcpListener *absl_nullable listener, NativeTcpClient *absl_nullable *absl_nullable output, std::int64_t deadline) |
| int | SymbianDeviceTcpSend (NativeTcpClient *absl_nullable client, const unsigned char *absl_nullable bytes, int length, std::int64_t deadline) |
| int | SymbianDeviceTcpReceive (NativeTcpClient *absl_nullable client, unsigned char *absl_nullable bytes, int capacity, int *absl_nullable received, std::int64_t deadline) |
| using symbian::api::connectivity::NativeAcceptCallback = typedef void (*absl_nonnull)(void* absl_nullable context, NativeTcpClient* absl_nullable 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 *absl_nullable | listener | ) |
| void symbian::api::connectivity::SymbianDeviceActiveTcpClose | ( | NativeActiveTcpListener *absl_nullable | listener | ) |
| int symbian::api::connectivity::SymbianDeviceActiveTcpListen | ( | unsigned | address, |
| unsigned | port, | ||
| bool | share_with_workers, | ||
| void *absl_nullable | context, | ||
| NativeAcceptCallback | callback, | ||
| NativeActiveTcpListener *absl_nullable *absl_nullable | output | ||
| ) |
| int symbian::api::connectivity::SymbianDeviceResolveIpv4 | ( | const char *absl_nullable | hostname, |
| int | length, | ||
| unsigned *absl_nullable | address, | ||
| std::int64_t | deadline | ||
| ) |
| int symbian::api::connectivity::SymbianDeviceTcpAccept | ( | NativeTcpListener *absl_nullable | listener, |
| NativeTcpClient *absl_nullable *absl_nullable | output, | ||
| std::int64_t | deadline | ||
| ) |
| int symbian::api::connectivity::SymbianDeviceTcpBeginAccept | ( | NativeTcpListener *absl_nullable | listener, |
| TRequestStatus *absl_nullable | status, | ||
| NativeTcpClient *absl_nullable *absl_nullable | output | ||
| ) |
| void symbian::api::connectivity::SymbianDeviceTcpCancelAccept | ( | NativeTcpListener *absl_nullable | listener | ) |
| void symbian::api::connectivity::SymbianDeviceTcpClose | ( | NativeTcpClient *absl_nullable | client | ) |
| int symbian::api::connectivity::SymbianDeviceTcpConnect | ( | unsigned | address, |
| unsigned | port, | ||
| NativeTcpClient *absl_nullable *absl_nullable | output, | ||
| std::int64_t | deadline | ||
| ) |
| int symbian::api::connectivity::SymbianDeviceTcpListen | ( | unsigned | address, |
| unsigned | port, | ||
| bool | share_with_workers, | ||
| NativeTcpListener *absl_nullable *absl_nullable | output | ||
| ) |
| void symbian::api::connectivity::SymbianDeviceTcpListenerClose | ( | NativeTcpListener *absl_nullable | listener | ) |
| int symbian::api::connectivity::SymbianDeviceTcpReceive | ( | NativeTcpClient *absl_nullable | client, |
| unsigned char *absl_nullable | bytes, | ||
| int | capacity, | ||
| int *absl_nullable | received, | ||
| std::int64_t | deadline | ||
| ) |
| int symbian::api::connectivity::SymbianDeviceTcpSend | ( | NativeTcpClient *absl_nullable | client, |
| const unsigned char *absl_nullable | bytes, | ||
| int | length, | ||
| std::int64_t | deadline | ||
| ) |
| int symbian::api::connectivity::SymbianDeviceTcpSetNoDelay | ( | NativeTcpClient *absl_nullable | client, |
| bool | enabled | ||
| ) |
| int symbian::api::connectivity::WaitForResolverRequest | ( | RHostResolver *absl_nonnull | resolver, |
| TRequestStatus *absl_nonnull | request, | ||
| std::int64_t | deadline | ||
| ) |
| int symbian::api::connectivity::WaitForSocketRequest | ( | RSocket *absl_nonnull | socket, |
| TRequestStatus *absl_nonnull | request, | ||
| std::int64_t | deadline, | ||
| void(RSocket::*)() | cancel | ||
| ) |