예제 #1
0
 public MySearchService() : base("search_service")
 {
     this.AddMethod(MyMethodDefinition <SearchRequest, SearchResponse> .Create("search", Search));
 }
예제 #2
0
 public MySearchClient(SimpleClient canal) : base("search_service", canal)
 {
     AddMethod(MyMethodDefinition <SearchRequest, SearchResponse> .Create("search"));
     this.Start();
 }