메소드 | 설명 | |
---|---|---|
DataAccess ( string storagePath ) : System |
Initializes a new instance of the T:Stumps.Server.Data.DataAccess class.
|
|
ServerCreate ( ServerEntity server ) : void |
Creates an entry for a new stumps server.
|
|
ServerDelete ( string serverId ) : void |
Deletes an existing T:Stumps.Server.Data.ServerEntity.
|
|
ServerFind ( string serverId ) : ServerEntity |
Finds the persisted T:Stumps.Server.Data.ServerEntity for a specified serverId.
|
|
ServerFindAll ( ) : IList |
Finds a list of all persisted T:Stumps.Server.Data.ServerEntity.
|
|
ServerReadResource ( string serverId, string resourceName ) : byte[] |
Loads the contents of a resource for a Stumps server. A |
|
StumpCreate ( string serverId, |
Creates a new T:Stumps.Server.Data.StumpEntity for an existing Stumps server.
|
|
StumpDelete ( string serverId, string stumpId ) : void |
Deletes an existing stump from a Stumps server.
|
|
StumpFindAll ( string serverId ) : IList |
Finds all a list of all T:Stumps.Server.Data.StumpEntity for the specified serverId.
|
public DataAccess ( string storagePath ) : System | ||
storagePath | string | The data path. |
리턴 | System |
public ServerCreate ( ServerEntity server ) : void | ||
server | ServerEntity | The |
리턴 | void |
public ServerDelete ( string serverId ) : void | ||
serverId | string | The unique identifier for the |
리턴 | void |
public ServerFind ( string serverId ) : ServerEntity | ||
serverId | string | The unique identifier for the |
리턴 | ServerEntity |
public ServerReadResource ( string serverId, string resourceName ) : byte[] | ||
serverId | string | The unique identifier for the Stumps server. |
resourceName | string | Name of the file. |
리턴 | byte[] |
public StumpCreate ( string serverId, |
||
serverId | string | The unique identifier for the Stumps server. |
entity | The |
|
originalRequestBody | byte | The array of bytes representing the original request's HTTP body. |
originalResponseBody | byte | The array of bytes representing the original response's HTTP body. |
responseBody | byte | The array of bytes returned as the HTTP body in response to the stump. |
리턴 |
public StumpDelete ( string serverId, string stumpId ) : void | ||
serverId | string | The unique identifier for the Stumps server the Stump is located in. |
stumpId | string | The unique identifier for the stump to delete. |
리턴 | void |
public StumpFindAll ( string serverId ) : IList |
||
serverId | string | The unique identifier for the Stumps server. |
리턴 | IList |