-
- All Implemented Interfaces:
public class SubscribeEventRequest extends EventRequest<REQ, RESP>
Request to Subscribe a client with its expectation when notified
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
SubscribeEventRequest.Builder
-
Method Summary
Modifier and Type Method Description String
getConsumerName()
Client Name Array<EventType>
getEventTypeList()
Event type list that consumer interested in. static SubscribeEventRequest.Builder
builder()
Build a SubscribeEventRequest.Builder instance used for setting request condition SubscribeEventResponse
execute()
void
asyncCall(Callback<SubscribeEventResponse> callback)
void
cancel()
-
-
Method Detail
-
getConsumerName
String getConsumerName()
Client Name
-
getEventTypeList
Array<EventType> getEventTypeList()
Event type list that consumer interested in.
-
builder
static SubscribeEventRequest.Builder builder()
Build a SubscribeEventRequest.Builder instance used for setting request condition
-
execute
SubscribeEventResponse execute()
-
asyncCall
void asyncCall(Callback<SubscribeEventResponse> callback)
-
cancel
void cancel()
-
-
-
-