HttpServer Class |
Namespace: Hummingbird.TestFramework.Services
The HttpServer type exposes the following members.
Name | Description | |
---|---|---|
HttpServer |
Initializes a new instance of the HttpServer class.
|
Name | Description | |
---|---|---|
CanSendRequest |
Indicate whether this service can send request (implements ISendRequest interface)
(Inherited from AbstractService.) | |
Description |
Gets or sets the description of the Abstract Service
(Inherited from AbstractService.) | |
ErrorMessages | Gets the error messages during the service startup or shutdown. (Inherited from AbstractService.) | |
Id |
This property must be initialized in the constructor of derived class and must be given a fixed GUID.
the GUID must be a constant in code, and should not equals to any other classes derived from AbstractService.
(Inherited from Identifier.) | |
ImageSource |
Gets or sets the image source.
(Inherited from AbstractService.) | |
Information |
Gets or sets the information.
(Inherited from AbstractService.) | |
IsRunning |
Gets or sets a value indicating whether this instance is running.
(Inherited from AbstractService.) | |
Name |
Gets or sets the name of the Service
(Inherited from AbstractService.) | |
Parameters |
the parameters for this AbstractServer instance, such as IP, Port, some path, etc...
the key of this dictionary should equals to its ServiceParameter.Name
(Inherited from AbstractService.) | |
ReservedPort |
Gets or sets the reserved TCP port used for this server.
(Inherited from AbstractServer.) | |
SettingPageType |
Type of the settings page if a custom settings page should be displayed. If this value is null, the default Settings page will be used.
(Inherited from AbstractService.) | |
SupportedRequests |
Gets or sets the supported requests.
(Inherited from AbstractService.) | |
SupportedResponses |
Gets the supported responses can be handled by this Server.
(Inherited from AbstractServer.) |
Name | Description | |
---|---|---|
ApplySettings |
Applies the settings.
(Overrides AbstractServiceApplySettings(IEnumerableParameter).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SendRequest |
Send the request described in requestMetadata and transform requestObject to its definitive format.
This method is synchronized, and should ONLY be called in functional test and automated test, else the UI thread will be blocked.
(Inherited from AbstractService.) | |
SendRequestAsync |
Asynchronized version of SendRequest method.
(Inherited from AbstractService.) | |
Start |
Starts this instance.
(Overrides AbstractServiceStart.) | |
Stop |
Stops this instance.
(Overrides AbstractServiceStop.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
ServerStatusChanged |
The server status changed
(Inherited from AbstractService.) |
Name | Description | |
---|---|---|
ToStringOrXml |
Converts any Object to string representation in String or XML format.
(Defined by ExtensionMethods.) | |
ToXmlString |
Converts any Object to string representation in XML format.
(Defined by ExtensionMethods.) |