src/main/java/org/hyperledger/fabric/sdk/Channel.java
/**
     * Add a peer to the channel
     *
     * @param peer The Peer to add.
     * @return Channel The current channel added.
     * @throws InvalidArgumentException
     */
Add a peer to the channel
@param peer The Peer to add.
@return Channel The current channel added.
Add a peer to the channel @param peer The Peer to add . @return Channel The current channel added .
public Channel addPeer(Peer peer) throws InvalidArgumentException {
        return addPeer(peer, PeerOptions.createPeerOptions());
    }
public Channel addPeer ( Peer peer ) throws InvalidArgumentException { return addPeer ( peer , PeerOptions . createPeerOptions ( ) ) ; }
Add a peer to the channel
 @param peer The Peer to add.
Add a peer to the channel @param peer The Peer to add .