public ConnectionType getType()
    {
        return type;
    }
Returns the type of connection that is accepted by this listener.

@return A connection type (never null).
xmppserver/src/main/java/org/jivesoftware/openfire/spi/ConnectionListener.java