diff options
Diffstat (limited to 'remoting/host/server_log_entry.h')
-rw-r--r-- | remoting/host/server_log_entry.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/remoting/host/server_log_entry.h b/remoting/host/server_log_entry.h index 8e5be83..f1af9bd 100644 --- a/remoting/host/server_log_entry.h +++ b/remoting/host/server_log_entry.h @@ -25,10 +25,18 @@ class ServerLogEntry { ME2ME }; + // Constructs a log stanza. The caller should add one or more log entry + // stanzas as children of this stanza, before sending the log stanza to + // the remoting bot. + static scoped_ptr<buzz::XmlElement> MakeStanza(); + // Constructs a log entry for a session state change. // Currently this is either connection or disconnection. static ServerLogEntry* MakeSessionStateChange(bool connection); + // Constructs a log entry for a heartbeat. + static ServerLogEntry* MakeForHeartbeat(); + ~ServerLogEntry(); // Adds fields describing the host to this log entry. |