public class CreateNoteMessageHandler extends CommunoteMessageHandler<CreateNoteMessage>
Modifier and Type | Field and Description |
---|---|
static String |
LATEST_VERSION |
Constructor and Description |
---|
CreateNoteMessageHandler() |
Modifier and Type | Method and Description |
---|---|
Class<CreateNoteMessage> |
getHandledMessageClass()
Class of the messages to be handled by this handler.
|
String |
getVersion()
Handler version is used to distinguish between different formats of the semantically same
message type.
|
CommunoteReplyMessage |
handleMessage(CreateNoteMessage message)
handles message of the appropriate type.
|
getHandledMessageType
public static final String LATEST_VERSION
public Class<CreateNoteMessage> getHandledMessageClass()
getHandledMessageClass
in class CommunoteMessageHandler<CreateNoteMessage>
public String getVersion()
CommunoteMessageHandler
getVersion
in class CommunoteMessageHandler<CreateNoteMessage>
public CommunoteReplyMessage handleMessage(CreateNoteMessage message) throws Exception
handleMessage
in class CommunoteMessageHandler<CreateNoteMessage>
message
- the messageException
- any occurred exceptionCopyright © 2019 Communote team. All rights reserved.