2 * Copyright 2010 Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 #ifndef _B_URL_PROTOCOL_ASYNCHRONOUS_LISTENER_H_
6 #define _B_URL_PROTOCOL_ASYNCHRONOUS_LISTENER_H_
11 #include <UrlProtocolDispatchingListener.h>
14 class BUrlProtocolAsynchronousListener
: public BHandler
,
15 public BUrlProtocolListener
{
17 BUrlProtocolAsynchronousListener(
18 bool transparent
= false);
19 virtual ~BUrlProtocolAsynchronousListener();
21 // Synchronous listener access
22 BUrlProtocolListener
* SynchronousListener();
25 virtual void MessageReceived(BMessage
* message
);
28 BUrlProtocolDispatchingListener
*
32 #endif // _B_URL_PROTOCOL_ASYNCHRONOUS_LISTENER_H_