src/net/java/sip/communicator/service/protocol/AbstractOperationSetBasicInstantMessaging.java
/**
     * Sends the <tt>message</tt> to the destination indicated by the
     * <tt>to</tt>. Provides a default implementation of this method.
     *
     * @param to the <tt>Contact</tt> to send <tt>message</tt> to
     * @param toResource the resource to which the message should be send
     * @param message the <tt>Message</tt> to send.
     * @throws java.lang.IllegalStateException if the underlying ICQ stack is
     * not registered and initialized.
     * @throws java.lang.IllegalArgumentException if <tt>to</tt> is not an
     * instance belonging to the underlying implementation.
     */
Sends the message to the destination indicated by the
to. Provides a default implementation of this method.

@param to the Contact to send message to
@param toResource the resource to which the message should be send
@param message the Message to send.
@throws java.lang.IllegalStateException if the underlying ICQ stack is
not registered and initialized.
@throws java.lang.IllegalArgumentException if to is not an
instance belonging to the underlying implementation.
Sends the message to the destination indicated by the to . Provides a default implementation of this method . @param to the Contact to send message to @param toResource the resource to which the message should be send @param message the Message to send . @throws java . lang . IllegalStateException if the underlying ICQ stack is not registered and initialized . @throws java . lang . IllegalArgumentException if to is not an instance belonging to the underlying implementation .
public void sendInstantMessage( Contact to,
                                    ContactResource toResource,
                                    Message message)
        throws IllegalStateException,
               IllegalArgumentException, OperationFailedException
    {
        sendInstantMessage(to, message);
    }
public void sendInstantMessage ( Contact to , ContactResource toResource , Message message ) throws IllegalStateException , IllegalArgumentException , OperationFailedException { sendInstantMessage ( to , message ) ; }
Sends the <tt>message</tt> to the destination indicated by the
 <tt>to</tt>.
Sends the <tt > message< / tt > to the destination indicated by the <tt > to< / tt > .