irc.dcc
Class DCCChat

java.lang.Object
  |
  +--irc.IRCObject
        |
        +--irc.Source
              |
              +--irc.dcc.DCCSource
                    |
                    +--irc.dcc.DCCChat

public class DCCChat
extends DCCSource

The DCCChat source.


Field Summary
 
Fields inherited from class irc.Source
_in, _server
 
Fields inherited from class irc.IRCObject
_ircConfiguration
 
Constructor Summary
DCCChat(IRCConfiguration config, DCCChatServer s, java.lang.String nick)
          Create a new DCCChat.
 
Method Summary
 java.lang.String getName()
          Get this source name.
 java.lang.String getType()
          Get this source type.
 void leave()
          Request to leave (close) this source.
 boolean talkable()
          Test wether this source can accept messages from user.
 
Methods inherited from class irc.dcc.DCCSource
getDCCChatServer
 
Methods inherited from class irc.Source
action, activate, addSourceListener, clear, getInterpretor, getServer, isActive, mayDefault, messageReceived, noticeReceived, release, removeSourceListener, report, sendString, setCTCPFilter, setInterpretor
 
Methods inherited from class irc.IRCObject
getColor, getIRCConfiguration, getText, getText, getText, getText, getTimeStamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DCCChat

public DCCChat(IRCConfiguration config,
               DCCChatServer s,
               java.lang.String nick)
Create a new DCCChat.

Parameters:
config - global configuration.
nick - remove nick.
Method Detail

getType

public java.lang.String getType()
Description copied from class: Source
Get this source type.

Specified by:
getType in class Source
Returns:
source type.

getName

public java.lang.String getName()
Description copied from class: Source
Get this source name.

Specified by:
getName in class Source
Returns:
source name.

talkable

public boolean talkable()
Description copied from class: Source
Test wether this source can accept messages from user.

Specified by:
talkable in class Source
Returns:
true if this source accepts user input, false otherwise.

leave

public void leave()
Description copied from class: Source
Request to leave (close) this source.

Specified by:
leave in class Source