Esempio n. 1
0
/**
 * This method is called from the client when it is registered with the
 * transport.
 * @param transport Transport implementation
 * @param client Client
 */
static void transport_register_client(lwpb_transport_t transport,
                                      struct lwpb_client *client)
{
    LWPB_FAIL("No clients can be registered");
}
Esempio n. 2
0
/**
 * This method is called from the server when it is registered with the
 * transport.
 * @param transport Transport implementation
 * @param server Server
 */
static void transport_register_server(lwpb_transport_t transport,
                                      struct lwpb_server *server)
{
    LWPB_FAIL("No servers can be registered");
}