public class FXQuotePublisherImpl extends Object implements FXQuotePublisher
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.
|
public void publishQuote(ESPQuote<? extends AbstractSubjectInfo> quote)
FXQuotePublisher
publishQuote
in interface FXQuotePublisher
quote
- the Quote containing a ratepublic void sendSubscribeFail(SubjectInfo info)
FXQuotePublisher
sendSubscribeFail
in interface FXQuotePublisher
info
- the object representation of the string subject that the
subscription was made to.public void sendSubscribeFail(String subject)
FXQuotePublisher
sendSubscribeFail
in interface FXQuotePublisher
subject
- the subject that the subscription was made to.public void sendStale(SubjectInfo info)
FXQuotePublisher
sendStale
in interface FXQuotePublisher
info
- he object representation of the string subject that the
subscription was made to.public void sendNotStale(SubjectInfo info)
FXQuotePublisher
sendNotStale
in interface FXQuotePublisher
info
- the object representation of the string subject that the
subscription was made to.public void sendNotFound(SubjectInfo info)
FXQuotePublisher
sendNotFound
in interface FXQuotePublisher
info
- the object representation of the string subject that the
subscription was made to.public void ratesUnavailable()
FXQuotePublisher
ratesUnavailable
in interface FXQuotePublisher
public void ratesAvailable()
FXQuotePublisher
ratesAvailable
in interface FXQuotePublisher
Copyright © 2015 Caplin Systems.