Esempio n. 1
0
 public function __construct(PhpBuf_RPC_Context $context)
 {
     parent::__construct($context);
     $this->setServiceFullQualifiedName('temperance.protobuf.QueueService');
     $this->registerMethodResponderClass('enqueue', Temperance_Queue_Response_Enqueue::name());
     $this->registerMethodResponderClass('dequeue', Temperance_Queue_Response_Dequeue::name());
 }
Esempio n. 2
0
 public function __construct(PhpBuf_RPC_Context $context)
 {
     parent::__construct($context);
     $this->setServiceFullQualifiedName('temperance.protobuf.FullTextService');
     $this->registerMethodResponderClass('add', Temperance_FullText_Response_Add::name());
     $this->registerMethodResponderClass('delete', Temperance_FullText_Response_Delete::name());
     $this->registerMethodResponderClass('deleteByValue', Temperance_FullText_Response_DeleteByValue::name());
     $this->registerMethodResponderClass('search', Temperance_FullText_Response_Search::name());
     $this->registerMethodResponderClass('reindex', Temperance_FullText_Response_Reindex::name());
 }
Esempio n. 3
0
 public function __construct(PhpBuf_RPC_Context $context)
 {
     parent::__construct($context);
     $this->setServiceFullQualifiedName('temperance.protobuf.MecabService');
     $this->registerMethodResponderClass('parse', Temperance_Mecab_Response_Parse::name());
 }
Esempio n. 4
0
 public function __construct(PhpBuf_RPC_Context $context)
 {
     parent::__construct($context);
     $this->setServiceFullQualifiedName('temperance.protobuf.QueryService');
     $this->registerMethodResponderClass('select', Temperance_Query_Response_Select::name());
 }
Esempio n. 5
0
 public function __construct(PhpBuf_RPC_Context $context)
 {
     parent::__construct($context);
     $this->setServiceFullQualifiedName('temperance.protobuf.MapService');
     $this->registerMethodResponderClass('set', Temperance_Map_Response_Set::name());
     $this->registerMethodResponderClass('get', Temperance_Map_Response_Get::name());
     $this->registerMethodResponderClass('getValues', Temperance_Map_Response_GetValues::name());
     $this->registerMethodResponderClass('delete', Temperance_Map_Response_Delete::name());
 }