public void addSubscriber(JID componentJID, boolean iqEnabled, boolean messageEnabled, boolean presenceEnabled,
                              boolean incoming, boolean processed) {
        subscribers.put(componentJID.toString(),
                new Subscription(iqEnabled, messageEnabled, presenceEnabled, incoming, processed));
    }
Creates new subscription for the specified component with the specified settings.

@param componentJID the address of the component connected to the server.
@param iqEnabled true if interested in IQ packets of any type.
@param messageEnabled true if interested in Message packets.
@param presenceEnabled true if interested in Presence packets.
@param incoming true if interested in incoming traffic. false means outgoing.
@param processed true if want to be notified after packets were processed.
xmppserver/src/main/java/org/jivesoftware/openfire/interceptor/PacketCopier.java