类 TaskflowServiceGrpc.TaskflowServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<TaskflowServiceGrpc.TaskflowServiceBlockingStub>
-
- cn.feiliu.taskflow.grpc.TaskflowServiceGrpc.TaskflowServiceBlockingStub
-
- 封闭类:
- TaskflowServiceGrpc
public static final class TaskflowServiceGrpc.TaskflowServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<TaskflowServiceGrpc.TaskflowServiceBlockingStub>
-
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 TaskModelPb.AddLogResponseaddLog(TaskModelPb.AddLogRequest request)POST /{taskId}/logprotected TaskflowServiceGrpc.TaskflowServiceBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)TaskModelPb.GetTaskResponsegetTask(TaskModelPb.GetTaskRequest request)GET /{taskId}TaskModelPb.PollResponsepoll(TaskModelPb.PollRequest request)GET /poll/{tasktype}FlowModelPb.StartWorkflowResponsestartWorkflow(FlowModelPb.StartWorkflowRequest request)TaskModelPb.UpdateTaskResponseupdateTask(TaskModelPb.UpdateTaskRequest request)POST /
-
-
-
方法详细资料
-
build
protected TaskflowServiceGrpc.TaskflowServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- 指定者:
build在类中io.grpc.stub.AbstractStub<TaskflowServiceGrpc.TaskflowServiceBlockingStub>
-
startWorkflow
public FlowModelPb.StartWorkflowResponse startWorkflow(FlowModelPb.StartWorkflowRequest request)
-
poll
public TaskModelPb.PollResponse poll(TaskModelPb.PollRequest request)
GET /poll/{tasktype}
-
updateTask
public TaskModelPb.UpdateTaskResponse updateTask(TaskModelPb.UpdateTaskRequest request)
POST /
-
addLog
public TaskModelPb.AddLogResponse addLog(TaskModelPb.AddLogRequest request)
POST /{taskId}/log
-
getTask
public TaskModelPb.GetTaskResponse getTask(TaskModelPb.GetTaskRequest request)
GET /{taskId}
-
-