irc
Class DefaultSource

java.lang.Object
  |
  +--irc.IRCObject
        |
        +--irc.Source
              |
              +--irc.DefaultSource

public class DefaultSource
extends Source

The Default No-Source.


Field Summary
 
Fields inherited from class irc.Source
_in, _server
 
Fields inherited from class irc.IRCObject
_ircConfiguration
 
Constructor Summary
DefaultSource(IRCConfiguration config)
           
 
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.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

DefaultSource

public DefaultSource(IRCConfiguration config)
Method Detail

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.

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.

leave

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

Specified by:
leave in class Source