pj_ssl_sock_cb class final

This structure contains the callbacks to be called by the secure socket.

Inheritance
Implemented types
Available extensions

Constructors

pj_ssl_sock_cb()

Properties

address Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
hashCode int
The hash code for this object.
no setterinherited
on_accept_complete Pointer<NativeFunction<pj_bool_t Function(Pointer<pj_ssl_sock_t> ssock, Pointer<pj_ssl_sock_t> newsock, Pointer<pj_sockaddr_t> src_addr, Int src_addr_len)>>
This callback is called when new connection arrives as the result of pj_ssl_sock_start_accept(). If the status of accept operation is needed use on_accept_complete2 instead of this callback.
getter/setter pair
on_accept_complete2 Pointer<NativeFunction<pj_bool_t Function(Pointer<pj_ssl_sock_t> ssock, Pointer<pj_ssl_sock_t> newsock, Pointer<pj_sockaddr_t> src_addr, Int src_addr_len, pj_status_t status)>>
This callback is called when new connection arrives as the result of pj_ssl_sock_start_accept().
getter/setter pair
on_connect_complete Pointer<NativeFunction<pj_bool_t Function(Pointer<pj_ssl_sock_t> ssock, pj_status_t status)>>
This callback is called when pending connect operation has been completed.
getter/setter pair
on_data_read Pointer<NativeFunction<pj_bool_t Function(Pointer<pj_ssl_sock_t> ssock, Pointer<Void> data, pj_size_t size, pj_status_t status, Pointer<pj_size_t> remainder)>>
This callback is called when a data arrives as the result of pj_ssl_sock_start_read().
getter/setter pair
on_data_recvfrom Pointer<NativeFunction<pj_bool_t Function(Pointer<pj_ssl_sock_t> ssock, Pointer<Void> data, pj_size_t size, Pointer<pj_sockaddr_t> src_addr, Int addr_len, pj_status_t status)>>
This callback is called when a packet arrives as the result of pj_ssl_sock_start_recvfrom().
getter/setter pair
on_data_sent Pointer<NativeFunction<pj_bool_t Function(Pointer<pj_ssl_sock_t> ssock, Pointer<pj_ioqueue_op_key_t> send_key, pj_ssize_t sent)>>
This callback is called when data has been sent.
getter/setter pair
on_verify_cb Pointer<NativeFunction<pj_bool_t Function(Pointer<pj_ssl_sock_t> ssock, pj_bool_t is_server)>>
This callback is called when certificate verification is being done. Certification info can be obtained from #pj_ssl_sock_info. Currently it's only implemented for OpenSSL backend.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited