Uses of Class
com.google.bitcoin.core.Peer

Packages that use Peer
com.google.bitcoin.core   
com.google.bitcoin.jni   
 

Uses of Peer in com.google.bitcoin.core
 

Methods in com.google.bitcoin.core that return Peer
 Peer PeerGroup.connectTo(InetSocketAddress address)
          Connect to a peer by creating a channel to the destination address.
protected  Peer PeerGroup.connectTo(PeerAddress address, boolean incrementMaxConnections)
           
 Peer PeerGroup.getDownloadPeer()
          Returns the currently selected download peer.
protected  Peer PeerGroup.selectDownloadPeer(List<Peer> peers)
          Given a list of Peers, return a Peer to be used as the download peer.
 

Methods in com.google.bitcoin.core that return types with arguments of type Peer
 List<Peer> PeerGroup.getConnectedPeers()
          Returns a newly allocated list containing the currently connected peers.
 com.google.common.util.concurrent.ListenableFuture<Peer> Peer.getConnectionOpenFuture()
          Provides a ListenableFuture that can be used to wait for the socket to connect.
 List<Peer> PeerGroup.getPendingPeers()
          Returns a list containing Peers that did not complete connection yet.
 

Methods in com.google.bitcoin.core with parameters of type Peer
 List<Message> PeerEventListener.getData(Peer peer, GetDataMessage m)
          Called when a peer receives a getdata message, usually in response to an "inv" being broadcast.
 List<Message> AbstractPeerEventListener.getData(Peer peer, GetDataMessage m)
           
protected  void PeerGroup.handleNewPeer(Peer peer)
           
protected  void PeerGroup.handlePeerDeath(Peer peer)
           
 void PeerEventListener.onBlocksDownloaded(Peer peer, Block block, int blocksLeft)
          Called on a Peer thread when a block is received.
 void DownloadListener.onBlocksDownloaded(Peer peer, Block block, int blocksLeft)
           
 void AbstractPeerEventListener.onBlocksDownloaded(Peer peer, Block block, int blocksLeft)
           
 void PeerEventListener.onChainDownloadStarted(Peer peer, int blocksLeft)
          Called when a download is started with the initial number of blocks to be downloaded.
 void DownloadListener.onChainDownloadStarted(Peer peer, int blocksLeft)
           
 void AbstractPeerEventListener.onChainDownloadStarted(Peer peer, int blocksLeft)
           
 void PeerEventListener.onPeerConnected(Peer peer, int peerCount)
          Called when a peer is connected.
 void AbstractPeerEventListener.onPeerConnected(Peer peer, int peerCount)
           
 void PeerEventListener.onPeerDisconnected(Peer peer, int peerCount)
          Called when a peer is disconnected.
 void AbstractPeerEventListener.onPeerDisconnected(Peer peer, int peerCount)
           
 Message PeerEventListener.onPreMessageReceived(Peer peer, Message m)
          Called when a message is received by a peer, before the message is processed.
 Message AbstractPeerEventListener.onPreMessageReceived(Peer peer, Message m)
           
 void PeerEventListener.onTransaction(Peer peer, Transaction t)
          Called when a new transaction is broadcast over the network.
 void AbstractPeerEventListener.onTransaction(Peer peer, Transaction t)
           
 Transaction Wallet.sendCoins(Peer peer, Wallet.SendRequest request)
          Sends coins to the given address, via the given Peer.
 

Method parameters in com.google.bitcoin.core with type arguments of type Peer
static int PeerGroup.getMostCommonChainHeight(List<Peer> peers)
          Returns most commonly reported chain height from the given list of Peers.
protected  Peer PeerGroup.selectDownloadPeer(List<Peer> peers)
          Given a list of Peers, return a Peer to be used as the download peer.
 

Uses of Peer in com.google.bitcoin.jni
 

Methods in com.google.bitcoin.jni with parameters of type Peer
 List<Message> NativePeerEventListener.getData(Peer peer, GetDataMessage m)
           
 void NativePeerEventListener.onBlocksDownloaded(Peer peer, Block block, int blocksLeft)
           
 void NativePeerEventListener.onChainDownloadStarted(Peer peer, int blocksLeft)
           
 void NativePeerEventListener.onPeerConnected(Peer peer, int peerCount)
           
 void NativePeerEventListener.onPeerDisconnected(Peer peer, int peerCount)
           
 Message NativePeerEventListener.onPreMessageReceived(Peer peer, Message m)
           
 void NativePeerEventListener.onTransaction(Peer peer, Transaction t)
           
 



Copyright © 2014. All rights reserved.