Method | Description | |
---|---|---|
Add ( stubby.Domain.Endpoint endpoint, uint &id ) : bool |
Add a new endpoint configuration
|
|
Add ( IEnumerable |
Add many new endpoint configurations
|
|
Delete ( uint id ) : bool |
Remove an endpoint by id
|
|
DeleteAll ( ) : void |
Remove all configured endpoints from stubby
|
|
Dispose ( ) : void | ||
Find ( stubby.Domain.Request request ) : stubby.Domain.Response |
Find an endpoint by it's matching Request
|
|
Get ( uint id ) : stubby.Domain.Endpoint |
Get an endpoint back by id
|
|
GetAll ( ) : IList |
Get a listing of all of stubby's configured endpoints
|
|
Replace ( Endpoint>.IEnumerable |
Swap out the configuration of several endpoints
|
|
Replace ( uint id, stubby.Domain.Endpoint endpoint ) : bool |
Swap out the configuration of one of the endpoints
|
|
Start ( ) : void |
Start stubby's services
|
|
Stop ( ) : void |
Stop stubby's services
|
|
Stubby ( ) : System |
Construct stubby with default parameters.
|
|
Stubby ( IArguments arguments ) : System |
Costruct with specific options.
|
Method | Description | |
---|---|---|
LoadEndpoints ( ) : void | ||
OnDatafileChange ( object sender, |
||
StartPortals ( ) : void |
public Add ( stubby.Domain.Endpoint endpoint, uint &id ) : bool | ||
endpoint | stubby.Domain.Endpoint | The new endpoint data |
id | uint | The new generated id, for use with Replace/Delete |
return | bool |
public Add ( IEnumerable |
||
endpoints | IEnumerable |
The new endpoints data |
ids | IList |
The new generated ids of the inserted endpoints |
return | bool |
public Delete ( uint id ) : bool | ||
id | uint | The id as returned by Add(..) or the Admin portal listing. |
return | bool |
public Find ( stubby.Domain.Request request ) : stubby.Domain.Response | ||
request | stubby.Domain.Request | The signature of the request to find by |
return | stubby.Domain.Response |
public Get ( uint id ) : stubby.Domain.Endpoint | ||
id | uint | The id of the endpoint to retrieve |
return | stubby.Domain.Endpoint |
public Replace ( Endpoint>.IEnumerable |
||
endpoints | Endpoint>.IEnumerable | An <id, endpoint> Map of endpoints to swap out |
return | bool |
public Replace ( uint id, stubby.Domain.Endpoint endpoint ) : bool | ||
id | uint | The id of the endpoint to replace |
endpoint | stubby.Domain.Endpoint | The new endpoint data |
return | bool |
public Stubby ( IArguments arguments ) : System | ||
arguments | IArguments | The collection of options used by stubby. |
return | System |