/// /// /// declare module goog.messaging { class LoggerServer extends LoggerServer__Class { } /** Fake class which should be extended to avoid inheriting static properties */ class LoggerServer__Class extends goog.Disposable__Class { /** * Creates a logger server that logs messages on behalf of the remote end of a * message channel. The remote end of the channel should use a * {goog.messaging.LoggerClient} with the same service name. * * @param {!goog.messaging.MessageChannel} channel The channel that is sending * the log messages. * @param {string} serviceName The name of the logging service to listen for. * @param {string=} opt_channelName The name of this channel. Used to help * distinguish this client's messages. * @constructor * @extends {goog.Disposable} * @final */ constructor(channel: goog.messaging.MessageChannel, serviceName: string, opt_channelName?: string); } }