Package com.yahoo.feedapi
Class SendSession
java.lang.Object
com.yahoo.feedapi.SendSession
Wrapper class to send Messages. Used instead of using a MessageBus session directly
so that unit tests can be more easily made.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SendSession
public SendSession()
-
-
Method Details
-
onSend
protected abstract com.yahoo.messagebus.Result onSend(com.yahoo.messagebus.Message m, boolean blockIfQueueIsFull) throws InterruptedException - Throws:
InterruptedException
-
send
public com.yahoo.messagebus.Result send(com.yahoo.messagebus.Message m, boolean blockIfQueueIsFull) throws InterruptedException - Throws:
InterruptedException
-
close
public abstract void close()
-