org.lastbamboo.common.offer.answer
Interface Offerer
public interface Offerer
Interface for classes that send offers to other peers.
offer
void offer(URI uri,
byte[] offer,
OfferAnswerTransactionListener transactionListener,
org.littleshoot.util.KeyStorage keyStore)
throws IOException
- Send an offer to the specified URI. Implementations of this method
SHOULD NOT BLOCK.
- Parameters:
uri - The URI indicating the user/machine to send the offer to.offer - The raw offer data itself.transactionListener - The listener for transaction success or
failure.
- Throws:
IOException - If there's an IO error sending the offer.
Copyright © 2013 LittleShoot. All Rights Reserved.