Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
RemoteInterface.cs
Go to the documentation of this file.
1using System.ServiceModel;
2
10{
15 [ServiceContract]
16 public interface IMockPlugin
17 {
18 [OperationContract]
19 bool DoSomething(string someParameter);
20 }
24 public static class EndpointDef
25 {
26 public const string Endpoint = "net.tcp://localhost:12543/RemotePluginService";
27 }
28}
Interaction with Chronos crossing the process barrier. A normal Chronos plugin is a class library loa...
Very basic service, only to show that you can trigger some action from outside and get a response.
bool DoSomething(string someParameter)
To avoid duplicating the endpoint definition in server and client.