150 virtual const FB::BrowserStreamPtr& getStream() const;
160 virtual bool cancel();
179 virtual void clearStream();
virtual bool onStreamCompleted(FB::StreamCompletedEvent *evt, FB::BrowserStream *)
Called when the stream finished downloading successfully.
This event is fired when the given stream was created.
virtual bool onStreamAttached(FB::AttachedEvent *evt, FB::BrowserStream *Stream)
Called when the stream is attached to this handler (may have already been created).
virtual bool onStreamDetached(FB::DetachedEvent *evt, FB::BrowserStream *Stream)
Called when the stream is detached from this handler (may not have been destroyed).
This is the abstract base class (interface class) for a browser stream.
virtual void setStream(const FB::BrowserStreamPtr &stream)
Call to set the stream associated with this handler.
virtual bool onStreamFailedOpen(FB::StreamFailedOpenEvent *evt, FB::BrowserStream *)
Called when the stream failed to open.
virtual const FB::BrowserStreamPtr & getStream() const
Call to get the stream associated with this handler. Returns empty shared_ptr if none.
virtual bool onStreamDestroyed(FB::StreamDestroyedEvent *evt, FB::BrowserStream *)
Called when the stream is destroyed.
virtual bool onStreamDataArrived(FB::StreamDataArrivedEvent *evt, FB::BrowserStream *)
Called when data arrives.
Simple implementation of a stream event handler from which you can derive your own stream events hand...
stream instance, don't use yourself
This event is fired when a stream failed to open, e.g. the url was invalid or a seekable stream was r...
virtual bool onStreamOpened(FB::StreamOpenedEvent *evt, FB::BrowserStream *)
Called when the stream was opened successfully.
Plugin event sink; all objects that can receive PluginEvent s should inherit from this class...
Fired when a PluginEventSink is attached to a PluginEventSource (such as a PluginCore derived plugin ...
virtual bool cancel()
Cancels the stream.
virtual void clearStream()
Call to clear the stream associated with this handler.
Fired when a PluginEventSink is detached from a PluginEventSource (such as a PluginCore derived plugi...
This event is fired when a stream has completed downloading.
Generated on Fri Dec 15 2017 16:00:04 for FireBreath by 1.8.6