Package dev.vality.damsel.messages
Class MessageServiceSrv.Client
java.lang.Object
org.apache.thrift.TServiceClient
dev.vality.damsel.messages.MessageServiceSrv.Client
- All Implemented Interfaces:
MessageServiceSrv.Iface
- Enclosing class:
- MessageServiceSrv
public static class MessageServiceSrv.Client extends org.apache.thrift.TServiceClient implements MessageServiceSrv.Iface
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMessageServiceSrv.Client.Factory -
Field Summary
Fields inherited from class org.apache.thrift.TServiceClient
iprot_, oprot_, seqid_ -
Constructor Summary
-
Method Summary
Modifier and Type Method Description GetConversationResponsegetConversations(List<String> conversation_ids, ConversationFilter filter)GetConversationResponserecvGetConversations()voidrecvSaveConversations()voidsaveConversations(List<Conversation> conversations, User user)voidsendGetConversations(List<String> conversation_ids, ConversationFilter filter)voidsendSaveConversations(List<Conversation> conversations, User user)Methods inherited from class org.apache.thrift.TServiceClient
getInputProtocol, getOutputProtocol, receiveBase, sendBase, sendBaseOneway
-
Constructor Details
-
Client
public Client(org.apache.thrift.protocol.TProtocol prot) -
Client
public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
-
-
Method Details
-
getConversations
public GetConversationResponse getConversations(List<String> conversation_ids, ConversationFilter filter) throws ConversationsNotFound, org.apache.thrift.TException- Specified by:
getConversationsin interfaceMessageServiceSrv.Iface- Throws:
ConversationsNotFoundorg.apache.thrift.TException
-
sendGetConversations
public void sendGetConversations(List<String> conversation_ids, ConversationFilter filter) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
recvGetConversations
public GetConversationResponse recvGetConversations() throws ConversationsNotFound, org.apache.thrift.TException- Throws:
ConversationsNotFoundorg.apache.thrift.TException
-
saveConversations
public void saveConversations(List<Conversation> conversations, User user) throws org.apache.thrift.TException- Specified by:
saveConversationsin interfaceMessageServiceSrv.Iface- Throws:
org.apache.thrift.TException
-
sendSaveConversations
public void sendSaveConversations(List<Conversation> conversations, User user) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
recvSaveConversations
public void recvSaveConversations() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-