/* * Copyright 2012 Splunk, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"): you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations * under the License. */ namespace Splunk { /// /// Contains functionality common to Splunk Enterprise and Splunk Storm. /// This class is an implementation detail and should not be extended /// outside of the SDK. /// public abstract class BaseService : HttpService { /// /// Initializes a new instance of the class /// public BaseService() : base() { } /// /// Initializes a new instance of the class /// /// The hostname public BaseService(string host) : base(host) { } /// /// Initializes a new instance of the class, /// with host and port. /// /// The hostname /// The port public BaseService(string host, int port) : base(host, port) { } /// /// Initializes a new instance of the class, /// with host, port and scheme. /// /// The hostname /// The port /// The scheme, http or https public BaseService(string host, int port, string scheme) : base(host, port, scheme) { } } }