CroCodIle documentation
xInvokeService<T>
Description
Allows for a contract to be exposed remotely to other processes for invocation
Usage
ISomeContractHere SomeContractHereInstance = new SomeContractHereClass();
xInvokeService<ISomeContractHere> SomeContractHereService = new xInvokeService<ISomeContractHere>(SomeContractHereInstance, "SomeServiceNameHere");
ISomeContractHere (line 1) is to demonstrate that SomeContractHereClass implements the ISomeContractHere interface
Methods
- Begin
- Starts the service
- No arguments, no return value
- Stop
- Stops the service
- No arguments, no return value
xInvokeClient<T>
Description
Allows an application to call across to a remote application transparently
Usage
xInvokeClient<ISomeContractHere> SomeClientHereInstance = new xInvokeClient<ISomeContractHere>("SomeServiceNameHere");
SomeClientHereInstance.Begin();
Methods
- Begin
- Starts the client
- No arguments, no return value
- Stop
- Stops the client
- No arguments, no return value
- DoCall
- Calls the contracted method
- No arguments, no return value
- DoCall
- Calls the contracted method
- Object[] { }, no return value
- DoCall<K>
- Calls the contracted method that returns a value
- No arguments, return value of type K
- DoCall<K>
- Calls the contracted method that returns a value
- Object[] { }, return value of type K