xo-websock: bugfix: track xo::ref::rp -> xo::rp
This commit is contained in:
parent
0ed8a1f435
commit
c42b6c70eb
6 changed files with 13 additions and 16 deletions
|
|
@ -67,7 +67,7 @@ namespace xo {
|
|||
* send output to ws_sink
|
||||
*/
|
||||
CallbackId subscribe(std::string const & incoming_uri,
|
||||
ref::rp<AbstractSink> const & ws_sink) const;
|
||||
rp<AbstractSink> const & ws_sink) const;
|
||||
|
||||
/* unsubscribe stream from this endpoint;
|
||||
* reverses the effect of a previous call to .subscribe()
|
||||
|
|
|
|||
|
|
@ -83,8 +83,8 @@ namespace xo {
|
|||
* the underlying libwebsocket library is not advertised to be
|
||||
* threadsafe
|
||||
*/
|
||||
static ref::rp<Webserver> make(WebserverConfig const & ws_config,
|
||||
ref::rp<PrintJson> const & pjson);
|
||||
static rp<Webserver> make(WebserverConfig const & ws_config,
|
||||
rp<PrintJson> const & pjson);
|
||||
|
||||
/* current state */
|
||||
virtual Runstate state() const = 0;
|
||||
|
|
|
|||
|
|
@ -17,10 +17,10 @@ namespace xo {
|
|||
using PrintJson = xo::json::PrintJson;
|
||||
|
||||
public:
|
||||
static ref::rp<WebsocketSink> make(ref::rp<Webserver> const & websrv,
|
||||
ref::rp<PrintJson> const & pjson,
|
||||
uint32_t session_id,
|
||||
std::string const & stream_name);
|
||||
static rp<WebsocketSink> make(rp<Webserver> const & websrv,
|
||||
rp<PrintJson> const & pjson,
|
||||
uint32_t session_id,
|
||||
std::string const & stream_name);
|
||||
}; /*WebsocketSink*/
|
||||
} /*namespace web*/
|
||||
} /*namespace xo*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue