Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.
public interface Outbox.Transport
Sends one message and says what became of it.
Methods
public abstract int deliver(OutboxMessage message)
throws IOException | Delivers a message. |
Method details
deliver
public abstract int deliver(OutboxMessage message)
throws IOExceptionDelivers a message.
Parameters
messageOutboxMessage- the message at the head of the outbox
Throws
IOException- when the link failed, which is read as
RETRY