Class PersonDetailsHandler
- java.lang.Object
-
- com.fifa.connectid.sdk.messageHandlers.PersonDetailsHandler
-
- All Implemented Interfaces:
MessageHandler
public class PersonDetailsHandler extends Object implements MessageHandler
-
-
Constructor Summary
Constructors Constructor Description PersonDetailsHandler(EventHandler<PersonDetails> personDetailsHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanHandle(String messageType)Tells the caller if the message type can be handled by this handlervoidhandle(String messageType, com.fifa.connectservicebus.sdk.Message message)Handles the messageStringtoString()
-
-
-
Constructor Detail
-
PersonDetailsHandler
public PersonDetailsHandler(EventHandler<PersonDetails> personDetailsHandler)
-
-
Method Detail
-
canHandle
public boolean canHandle(String messageType)
Description copied from interface:MessageHandlerTells the caller if the message type can be handled by this handler- Specified by:
canHandlein interfaceMessageHandler- Parameters:
messageType- A textual identifier of the message type- Returns:
- true if the message handler can handle the message type, false otherwise
-
handle
public void handle(String messageType, com.fifa.connectservicebus.sdk.Message message) throws Exception
Description copied from interface:MessageHandlerHandles the message- Specified by:
handlein interfaceMessageHandler- Parameters:
messageType- A textual identifier of the message typemessage- Message to handle- Throws:
Exception
-
-