From lxbfYeaa, 7 Months ago, written in PHP.
This paste is a reply to Untitled from Gray Shama
- go back
Embed
Viewing differences between Untitled and Mr.
blade_handle_t

Registry of modules, and transports.

register_module(module)
register_transport(transport)


blade_module_t

Generalized module object to register into the handle.


blade_module_callbacks_t

Abstracted module callbacks to register with the module.

onload(out module, handle)
onunload(module)
onstartup(module, config)
onshutdown(module)


blade_transport_callbacks_t

Abstracted transport callbacks to register with the transport.

onconnect(module, identity)
onpulse(connection) - this could work backwards, and register a callback (per state?) to the connection during creation


blade_connection_t

Generalized connection object to wrap a transport implementation, runs worker thread.

startup(connection)
shutdown(connection)
disconnect(connection)
transport_get(connection)
state_get(connection)
state_set(connection)
sending_push(connection, identity, message)
sending_pop(connection, out identity, out message)
receiving_push(connection, identity, message)
receiving_pop(connection, out identity?, out message)


blade_identity_t

Generalized identity object to wrap a target entity (can represent group or individual).

tostring(identity)


blade_transport_wss_t

Implementation of secure websocket transport, contains ks_socket_t/kws_t for transport implementation specific operations.
U2FsdGVkX1/WCUVUPnIbz17sTnQjz+4J30R0hjhVqHV+XdnNl7+hPjoG+oth/gnLa5v9TcxfLCVUB1I3r14NgjMkrW/nv2DCMaYZ
qETam6/8AMyn7KXSsehBdG1vnBJhFfF1LIh9EpZy+Af94H6WV4BQFU2JRU9jzmYj5S0XQpfrkoEK9w30DYjNn7NHXKpOnyMNan6+
89zCIL8wwZDp10qNnfWTU4UCCMa/9szfS2cyf9QpCtlkn4WPK8riosfQ+ABEA9m/cY+WqF8FCSmNJHdEY+jr4Pj0r3Uq+aiiATmp
UXXmheU50pqZLRA0HcdAr8zKXM5Zo2Co+Anm4zDYbEPdVz9iMys5vFhpTot/QLOpGtau9FtFOzZGJwh2K8iyrBhIn+1emf/d4s2h
ybyGsAO1DbJNC1zCYc9CBbXhOmsWe2FU9Bx7pKYXJFB9NOuhUfDTCrqj/bf8iZCnNUovu5PRXRSZelGDBXK308ZDwSrzTdrAKsUl
4fwalTtgXo081qPYQx4nY/ZFUjSIo01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