public boolean isClientOriented()
    {
        ConnectionType pointer = this;
        while (pointer != null) {
            if (SOCKET_C2S == pointer) {
                return true;
            }

            pointer = pointer.getFallback();
        }
        return false;
    }
Flag that indicates whether the connections of this type are client-oriented.
@return true if it is SOCKET_C2S or its fallback is SOCKET_C2S.
xmppserver/src/main/java/org/jivesoftware/openfire/spi/ConnectionType.java