public interface TokenDispatcher<T extends Token<T>,E extends SingleTokenEvent<T>> extends ChangeGenerator<E>
Modifier and Type | Method and Description |
---|---|
void |
dispatch(E tokenEvent)
Dispath a token in an existing
TokenEvent |
E |
dispatch(T token)
Dispatch the token and ensure its in process.
|
default Date |
getSystemDateTime()
Client systems that access this need to synchronize clocks,
If they want to communicate with server.
|
addChangeListener, getListeners, notifyAllListeners, setListeners
E dispatch(T token) throws TokenGenerationException, TokenProcessingException
token
- as Token
TokenGenerationException
TokenProcessingException
void dispatch(E tokenEvent) throws TokenGenerationException, TokenProcessingException
TokenEvent
tokenEvent
- TokenGenerationException
TokenProcessingException
Copyright © 2018. All rights reserved.