src/net/java/sip/communicator/impl/gui/main/chat/MetaContactChatTransport.java
/**
     * Adds an instant message listener to this chat transport.
     * @param l The message listener to add.
     */
Adds an instant message listener to this chat transport.
@param l The message listener to add.
Adds an instant message listener to this chat transport . @param l The message listener to add .
public void addInstantMessageListener(MessageListener l)
    {
        if (!allowsInstantMessage())
            return;
        OperationSetBasicInstantMessaging imOpSet
            = contact
                .getProtocolProvider()
                    .getOperationSet(OperationSetBasicInstantMessaging.class);
        imOpSet.addMessageListener(l);
    }
public void addInstantMessageListener ( MessageListener l ) { if ( ! allowsInstantMessage ( ) ) return ; OperationSetBasicInstantMessaging imOpSet = contact . getProtocolProvider ( ) . getOperationSet ( OperationSetBasicInstantMessaging . class ) ; imOpSet . addMessageListener ( l ) ; }
Adds an instant message listener to this chat transport.
Adds an instant message listener to this chat transport .
// If this chat transport does not support instant messaging we do // nothing here.