de.berlios.suzy.irc
Interface IrcSender

All Known Implementing Classes:
IrcClient

public interface IrcSender

An IrcSender can send texts to an irc server.

Author:
honk

Method Summary
 void send(java.lang.String text)
          Sends the given message as raw text to the irc server.
 void sendMessageTo(java.lang.String target, MessageTypes type, java.lang.String text)
          Sends a message with the specified text and type to the target.
 

Method Detail

sendMessageTo

void sendMessageTo(java.lang.String target,
                   MessageTypes type,
                   java.lang.String text)
Sends a message with the specified text and type to the target.

Parameters:
target - the target to send to (user/channel)
type - type of the message to send
text - text to send

send

void send(java.lang.String text)
Sends the given message as raw text to the irc server.

Parameters:
text - text to send