public Identity getIdentity() {
        return identity;
    }
Returns the identity to use for the network.

@return The identity.
messagebus/src/main/java/com/yahoo/messagebus/network/rpc/RPCNetworkParams.java