@Override
    public int hashCode() {
        int result = host != null ? host.hashCode() : 0;
        result = 31 * result + port;
        result = 31 * result + (session != null ? session.hashCode() : 0);
        return result;
    }
Returns the name of the session to route to.

@return The session name.
messagebus/src/main/java/com/yahoo/messagebus/routing/TcpDirective.java