public interface FXQuotePublisher
The publisher able to send ESP Quotes. See FXRatesAdapter
Modifier and Type | Method and Description |
---|---|
void |
publishQuote(ESPQuote<? extends AbstractSubjectInfo> quote)
Publishes the Quote to all peers subscribed to the subject of the
quote.
|
void |
ratesAvailable()
to be called when all rates become available
|
void |
ratesUnavailable()
To be called when all rates have become unavailable
|
void |
sendNotFound(SubjectInfo info)
Sends a message to all peers informing it that the subscription was
not able to be serviced by this adapter.
|
void |
sendNotStale(SubjectInfo info)
Sends a message to all peers informing it that the subscription for
the subject has no longer stale.
|
void |
sendStale(SubjectInfo info)
Sends a message to all peers informing it that the subscription for
the subject has gone stale.
|
void |
sendSubscribeFail(String subject)
Sends a message to all peers informing it that the subscription to the
subject in question has failed.
|
void |
sendSubscribeFail(SubjectInfo info)
Sends a message to all peers informing it that the subscription
to the subject in question has failed.
|
void sendSubscribeFail(SubjectInfo info)
info
- the object representation of the string subject that the
subscription was made to.void sendSubscribeFail(String subject)
subject
- the subject that the subscription was made to.void sendStale(SubjectInfo info)
info
- he object representation of the string subject that the
subscription was made to.void sendNotStale(SubjectInfo info)
info
- the object representation of the string subject that the
subscription was made to.void sendNotFound(SubjectInfo info)
info
- the object representation of the string subject that the
subscription was made to.void ratesUnavailable()
void ratesAvailable()
void publishQuote(ESPQuote<? extends AbstractSubjectInfo> quote)
quote
- the Quote containing a rateCopyright © 2015 Caplin Systems.