Index: remoting/host/host_status_observer.h |
diff --git a/remoting/host/host_status_observer.h b/remoting/host/host_status_observer.h |
index c3c8a0b34c6ad9094f5f73c235d0d3e89d73c2c6..8934c8037c2dc21fab534aa33082addaa38fe876 100644 |
--- a/remoting/host/host_status_observer.h |
+++ b/remoting/host/host_status_observer.h |
@@ -7,6 +7,10 @@ |
#include <string> |
+namespace net { |
+class IPEndPoint; |
+} // namespace net |
+ |
namespace remoting { |
class SignalStrategy; |
@@ -26,6 +30,12 @@ class HostStatusObserver { |
virtual void OnClientAuthenticated(const std::string& jid) = 0; |
virtual void OnClientDisconnected(const std::string& jid) = 0; |
+ // Called on notification of a route change event, when a channel is |
+ // connected. |
+ virtual void OnClientIpAddress(const std::string& jid, |
+ const std::string& channel_name, |
+ const net::IPEndPoint& end_point) = 0; |
Sergey Ulanov
2012/01/26 00:48:56
It may be better to provide default empty handler
Lambros
2012/01/26 19:40:14
Done.
|
+ |
// Called when the host shuts down. |
virtual void OnShutdown() = 0; |
}; |