A B C D E F G H I J K L M N O P Q R S T U V W

A

ActionCtcp - class f00f.net.irc.martyr.commands.ActionCtcp.
ActionCtcp allows the application to do a '/me'.
ActionCtcp(String, String) - Constructor for class f00f.net.irc.martyr.commands.ActionCtcp
 
addChannel(Channel) - Method in class f00f.net.irc.martyr.clientstate.ClientState
 
addChannel(String) - Method in class f00f.net.irc.martyr.clientstate.ClientState
Adds a channel to the list of channels we know about.
addCommand(String, InCommand) - Method in class f00f.net.irc.martyr.CommandRegister
 
addCommandObserver(Observer) - Method in class f00f.net.irc.martyr.IRCConnection
 
addMember(FullNick, Command) - Method in class f00f.net.irc.martyr.clientstate.Channel
Deprecated. Use addMember( FullNick, InCommand ) intead.
addMember(FullNick, InCommand) - Method in class f00f.net.irc.martyr.clientstate.Channel
Adds the member to the channel.
addMember(Member) - Method in class f00f.net.irc.martyr.clientstate.Channel
 
addMember(String, Command) - Method in class f00f.net.irc.martyr.clientstate.Channel
Deprecated. Use addMember( String, InCommand ) instead.
addMember(String, InCommand) - Method in class f00f.net.irc.martyr.clientstate.Channel
Adds the member to the channel.
addStateObserver(Observer) - Method in class f00f.net.irc.martyr.IRCConnection
 
AnonChannelMode - class f00f.net.irc.martyr.modes.channel.AnonChannelMode.
The channel flag 'a' defines an anonymous channel.
AnonChannelMode() - Constructor for class f00f.net.irc.martyr.modes.channel.AnonChannelMode
 
areEqual(String, String) - Static method in class f00f.net.irc.martyr.clientstate.Channel
Compares the two channel names for equality.
attributes - Variable in class f00f.net.irc.martyr.commands.GenericInCommand
 
authorizeConnect(DccType, String, InetAddress, int, int) - Method in class f00f.net.irc.martyr.dcc.AutoDccSetup
This is called after parsing the request to find out if the connection should be performed.
AutoDccSetup - class f00f.net.irc.martyr.dcc.AutoDccSetup.
AutoDccSetup enables an application to "listen" for when another client is offering a DCC connection to us.
AutoDccSetup(IRCConnection) - Constructor for class f00f.net.irc.martyr.dcc.AutoDccSetup
 
AutoJoin - class f00f.net.irc.martyr.AutoJoin.
AutoJoin joins a group if the IRCConnection is ready.
AutoJoin(IRCConnection, String) - Constructor for class f00f.net.irc.martyr.AutoJoin
 
AutoJoin(IRCConnection, String, String) - Constructor for class f00f.net.irc.martyr.AutoJoin
 
AutoReconnect - class f00f.net.irc.martyr.AutoReconnect.
AutoReconnect performs the job of reconnecting to the server, if the connection is terminated unexpectedly.
AutoReconnect(IRCConnection) - Constructor for class f00f.net.irc.martyr.AutoReconnect
Initializes with reasonable defaults.
AutoReconnect(IRCConnection, int, int) - Constructor for class f00f.net.irc.martyr.AutoReconnect
 
AutoReconnect(IRCConnection, int, int, boolean) - Constructor for class f00f.net.irc.martyr.AutoReconnect
 
AutoRegister - class f00f.net.irc.martyr.AutoRegister.
AutoRegister performs the task of registering the user with the server once connected, including finding an appropriate nickname to use if the desired one is taken.
AutoRegister(IRCConnection, String, String, String) - Constructor for class f00f.net.irc.martyr.AutoRegister
 
AutoResponder - class f00f.net.irc.martyr.AutoResponder.
AutoResponder is where commands that should be auto-responded (such as PING-PONG) should go.
AutoResponder(IRCConnection) - Constructor for class f00f.net.irc.martyr.AutoResponder
 

B

BAD - Static variable in class f00f.net.irc.martyr.Debug
Some kind of badness is going on here, but it is within acceptable limits and handled nicely.
BanMode - class f00f.net.irc.martyr.modes.channel.BanMode.
Channel Ban and Exception - When a user requests to join a channel, his local server checks if the user's address matches any of the ban masks set for the channel.
BanMode() - Constructor for class f00f.net.irc.martyr.modes.channel.BanMode
 

C

cancel() - Method in class f00f.net.irc.martyr.TimerTaskCommand
 
Channel - class f00f.net.irc.martyr.clientstate.Channel.
Channel is simply a repository for information about a channel.
Channel(String) - Constructor for class f00f.net.irc.martyr.clientstate.Channel
 
ChannelCreationReply - class f00f.net.irc.martyr.replies.ChannelCreationReply.
ChannelCreationReply sets the creation time of the channel.
ChannelCreationReply() - Constructor for class f00f.net.irc.martyr.replies.ChannelCreationReply
For use as a factory.
ChannelCreationReply(String, Date) - Constructor for class f00f.net.irc.martyr.replies.ChannelCreationReply
 
ChannelInviteOnlyError - class f00f.net.irc.martyr.errors.ChannelInviteOnlyError.
 
ChannelInviteOnlyError() - Constructor for class f00f.net.irc.martyr.errors.ChannelInviteOnlyError
 
ChannelInviteOnlyError(String, String) - Constructor for class f00f.net.irc.martyr.errors.ChannelInviteOnlyError
 
ChannelModeCommand - class f00f.net.irc.martyr.commands.ChannelModeCommand.
Defines the ChannelMode command.
ChannelModeCommand(String) - Constructor for class f00f.net.irc.martyr.commands.ChannelModeCommand
For sending a mode discovery.
ChannelModeCommand(String, String, StringTokenizer) - Constructor for class f00f.net.irc.martyr.commands.ChannelModeCommand
For receiving a mode command.
channels - Variable in class f00f.net.irc.martyr.clientstate.ClientState
 
ChannelWrongKeyError - class f00f.net.irc.martyr.errors.ChannelWrongKeyError.
 
ChannelWrongKeyError() - Constructor for class f00f.net.irc.martyr.errors.ChannelWrongKeyError
 
ChannelWrongKeyError(String, String) - Constructor for class f00f.net.irc.martyr.errors.ChannelWrongKeyError
 
CHAT - Static variable in class f00f.net.irc.martyr.dcc.DccType
 
ChatRequestCommand - class f00f.net.irc.martyr.dcc.ChatRequestCommand.
ChatRequestCommand sets up a socket to listen for a dcc connection and then sends a request to chat to the indicated party.
ChatRequestCommand(InetAddress, String, DccChatHandler, int) - Constructor for class f00f.net.irc.martyr.dcc.ChatRequestCommand
 
ChatRequestCommand(IRCConnection, String, DccChatHandler) - Constructor for class f00f.net.irc.martyr.dcc.ChatRequestCommand
 
ClientState - class f00f.net.irc.martyr.clientstate.ClientState.
Maintains a list of client-related facts such as what channels we are in, who else is in the channels, what our nick is, etc.
ClientState() - Constructor for class f00f.net.irc.martyr.clientstate.ClientState
 
ClientStateMonitor - class f00f.net.irc.martyr.ClientStateMonitor.
ClientStateMonitor asks commands to update the client state.
Command - interface f00f.net.irc.martyr.Command.
Defines an object which is a command, either incoming or outgoing.
CommandRegister - class f00f.net.irc.martyr.CommandRegister.
CommandRegister is basically a big hashtable that maps IRC identifiers to command objects that can be used as factories to do self-parsing.
CommandRegister() - Constructor for class f00f.net.irc.martyr.CommandRegister
 
connect() - Method in class f00f.net.irc.martyr.AutoReconnect
Attempts a single connection to the server.
connect(Socket, String) - Method in class f00f.net.irc.martyr.IRCConnection
This allows the developer to provide a pre-connected socket, ready for use.
connect(String, int) - Method in class f00f.net.irc.martyr.IRCConnection
Performs a standard connection to the server and port.
connect(String, int) - Method in class f00f.net.irc.martyr.AutoReconnect
Attempts a single connection to the server.
connect(String, int) - Method in class f00f.net.irc.martyr.test.IRCConsole
 
connect(String, int) - Method in class f00f.net.irc.martyr.test.DccTestBot
 
connection - Variable in class f00f.net.irc.martyr.GenericCommandAutoService
 
CRITICAL - Static variable in class f00f.net.irc.martyr.Debug
Something went wrong, maybe not our fault.
CronManager - class f00f.net.irc.martyr.CronManager.
 
CronManager() - Constructor for class f00f.net.irc.martyr.CronManager
 
CTCP_TAG_DELIM - Static variable in class f00f.net.irc.martyr.util.CtcpUtil
 
CtcpMessage - class f00f.net.irc.martyr.commands.CtcpMessage.
This facilitates the sending and receiving of CTCP messages.
CtcpMessage(FullNick, String, String) - Constructor for class f00f.net.irc.martyr.commands.CtcpMessage
This is only to be called by MessageCommand, as a way of receiving a Ctcp message.
CtcpMessage(String, String) - Constructor for class f00f.net.irc.martyr.commands.CtcpMessage
Use this to send a CTCP message.
CtcpMessage(String, String, String) - Constructor for class f00f.net.irc.martyr.commands.CtcpMessage
 
CtcpUtil - class f00f.net.irc.martyr.util.CtcpUtil.
 
CtcpUtil.CtcpTokenizer - class f00f.net.irc.martyr.util.CtcpUtil.CtcpTokenizer.
Parses the string into tokens, where each token is either a CTCP escaped sequence or not.
CtcpUtil.CtcpTokenizer(CtcpUtil, String) - Constructor for class f00f.net.irc.martyr.util.CtcpUtil.CtcpTokenizer
 
CtcpUtil() - Constructor for class f00f.net.irc.martyr.util.CtcpUtil
 

D

DccChatHandler - class f00f.net.irc.martyr.dcc.DccChatHandler.
 
DccChatHandler() - Constructor for class f00f.net.irc.martyr.dcc.DccChatHandler
 
DccChatHandler(Socket) - Constructor for class f00f.net.irc.martyr.dcc.DccChatHandler
 
DccException - exception f00f.net.irc.martyr.dcc.DccException.
 
DccException(String) - Constructor for class f00f.net.irc.martyr.dcc.DccException
 
DccSendHandler - class f00f.net.irc.martyr.dcc.DccSendHandler.
A DccSendHandler manages a DCC "send" (to us) file transfer.
DccSendHandler(Socket, String, int) - Constructor for class f00f.net.irc.martyr.dcc.DccSendHandler
 
DccTestBot - class f00f.net.irc.martyr.test.DccTestBot.
The DccTestBot waits for DCC connections and establishes connections on request, see the source for how it is done.
DccTestBot(String) - Constructor for class f00f.net.irc.martyr.test.DccTestBot
 
DccType - class f00f.net.irc.martyr.dcc.DccType.
 
Debug - class f00f.net.irc.martyr.Debug.
Aids in debugging and logging for martyr.
Debug() - Constructor for class f00f.net.irc.martyr.Debug
 
DEFAULT_CONNECT_SLEEPTIME - Static variable in class f00f.net.irc.martyr.AutoReconnect
 
DEFAULT_DISABLE_ON_QUIT - Static variable in class f00f.net.irc.martyr.AutoReconnect
 
DEFAULT_MAX_ATTEMPTS - Static variable in class f00f.net.irc.martyr.AutoReconnect
 
disable() - Method in class f00f.net.irc.martyr.GenericCommandAutoService
 
disable() - Method in class f00f.net.irc.martyr.GenericAutoService
 
disable() - Method in class f00f.net.irc.martyr.ClientStateMonitor
 
disable() - Method in class f00f.net.irc.martyr.AutoResponder
 
disconnect() - Method in class f00f.net.irc.martyr.IRCConnection
Orders the socket to disconnect.
doConnectionLoop() - Method in class f00f.net.irc.martyr.AutoReconnect
Calls connect() followed by failedToConnect(...) until a connection is made.
doConnectionLoop(String, int) - Method in class f00f.net.irc.martyr.AutoReconnect
Calls connect() followed by failedToConnect(...) until a connection is made

E

enable() - Method in class f00f.net.irc.martyr.GenericCommandAutoService
 
enable() - Method in class f00f.net.irc.martyr.GenericAutoService
 
enable() - Method in class f00f.net.irc.martyr.ClientStateMonitor
 
enable() - Method in class f00f.net.irc.martyr.AutoResponder
 
enabled - Variable in class f00f.net.irc.martyr.GenericCommandAutoService
 
equals(FullNick) - Method in class f00f.net.irc.martyr.util.FullNick
 
equals(FullNick) - Method in class f00f.net.irc.martyr.clientstate.Member
 
equals(Member) - Method in class f00f.net.irc.martyr.clientstate.Member
Does a nick-wise compare.
equals(Object) - Method in class f00f.net.irc.martyr.util.FullNick
 
equals(Object) - Method in class f00f.net.irc.martyr.modes.GenericMode
 
equals(String) - Method in class f00f.net.irc.martyr.util.FullNick
Performs case insesitive equals on the nicks only.
ExceptionMode - class f00f.net.irc.martyr.modes.channel.ExceptionMode.
Channel Ban and Exception - When a user requests to join a channel, his local server checks if the user's address matches any of the ban masks set for the channel.
ExceptionMode() - Constructor for class f00f.net.irc.martyr.modes.channel.ExceptionMode
 
EXCESSIVE - Static variable in class f00f.net.irc.martyr.Debug
Excessive information about internals that no human should need to know or care about.

F

f00f.net.irc.martyr - package f00f.net.irc.martyr
 
f00f.net.irc.martyr.clientstate - package f00f.net.irc.martyr.clientstate
 
f00f.net.irc.martyr.commands - package f00f.net.irc.martyr.commands
 
f00f.net.irc.martyr.dcc - package f00f.net.irc.martyr.dcc
 
f00f.net.irc.martyr.errors - package f00f.net.irc.martyr.errors
 
f00f.net.irc.martyr.modes - package f00f.net.irc.martyr.modes
 
f00f.net.irc.martyr.modes.channel - package f00f.net.irc.martyr.modes.channel
 
f00f.net.irc.martyr.modes.user - package f00f.net.irc.martyr.modes.user
 
f00f.net.irc.martyr.replies - package f00f.net.irc.martyr.replies
 
f00f.net.irc.martyr.test - package f00f.net.irc.martyr.test
 
f00f.net.irc.martyr.util - package f00f.net.irc.martyr.util
 
failedToConnect(Exception) - Method in class f00f.net.irc.martyr.AutoReconnect
Called when a failure to connect occurs.
FAQ - class f00f.net.irc.martyr.FAQ.
Some Frequenty Asked Questions.
FAULT - Static variable in class f00f.net.irc.martyr.Debug
Signals in internal fault, similar to failling an assertion but the program doesn't halt.
finalFailure() - Method in class f00f.net.irc.martyr.AutoReconnect
Called when the final failure has occurred.
findMember(Member) - Method in class f00f.net.irc.martyr.clientstate.Channel
 
findMember(String) - Method in class f00f.net.irc.martyr.clientstate.Channel
Finds the Member object associated with a specific nick.
FullNick - class f00f.net.irc.martyr.util.FullNick.
Parses out a full nick (ex: sork<exclaimation>sork<at>f00f.net) and stores it for use.
FullNick(String) - Constructor for class f00f.net.irc.martyr.util.FullNick
 

G

GenericAutoService - class f00f.net.irc.martyr.GenericAutoService.
Provides a framework for an auto service.
GenericAutoService(IRCConnection) - Constructor for class f00f.net.irc.martyr.GenericAutoService
 
GenericChannelMask - class f00f.net.irc.martyr.modes.channel.GenericChannelMask.
'Masks' and other modes that can have multiple copies in a channel at once should subclass this.
GenericChannelMask() - Constructor for class f00f.net.irc.martyr.modes.channel.GenericChannelMask
 
GenericChannelMode - class f00f.net.irc.martyr.modes.channel.GenericChannelMode.
A generic channel mode will be recorded in the channel, and there will be one per channel.
GenericChannelMode() - Constructor for class f00f.net.irc.martyr.modes.channel.GenericChannelMode
 
GenericCommand - class f00f.net.irc.martyr.commands.GenericCommand.
Defines a generic command.
GenericCommand() - Constructor for class f00f.net.irc.martyr.commands.GenericCommand
 
GenericCommandAutoService - class f00f.net.irc.martyr.GenericCommandAutoService.
Provides a framework for an auto service that operates with InCommands.
GenericCommandAutoService(IRCConnection) - Constructor for class f00f.net.irc.martyr.GenericCommandAutoService
 
GenericError - class f00f.net.irc.martyr.errors.GenericError.
Defines what an error is.
GenericError() - Constructor for class f00f.net.irc.martyr.errors.GenericError
 
GenericInCommand - class f00f.net.irc.martyr.commands.GenericInCommand.
Defines a generic command.
GenericInCommand() - Constructor for class f00f.net.irc.martyr.commands.GenericInCommand
 
GenericInCommand(String[]) - Constructor for class f00f.net.irc.martyr.commands.GenericInCommand
 
GenericMode - class f00f.net.irc.martyr.modes.GenericMode.
GenericNode uses the character to specify the hash code.
GenericMode() - Constructor for class f00f.net.irc.martyr.modes.GenericMode
 
GenericReply - class f00f.net.irc.martyr.replies.GenericReply.
Defines what a reply is.
GenericReply() - Constructor for class f00f.net.irc.martyr.replies.GenericReply
 
GenericStringReply - class f00f.net.irc.martyr.replies.GenericStringReply.
 
GenericStringReply() - Constructor for class f00f.net.irc.martyr.replies.GenericStringReply
 
GenericStringReply(String) - Constructor for class f00f.net.irc.martyr.replies.GenericStringReply
 
GenericUserMode - class f00f.net.irc.martyr.modes.user.GenericUserMode.
 
GenericUserMode() - Constructor for class f00f.net.irc.martyr.modes.user.GenericUserMode
 
getAction() - Method in class f00f.net.irc.martyr.commands.CtcpMessage
Returns the action of this CTCP.
getActionStr(String) - Static method in class f00f.net.irc.martyr.commands.CtcpMessage
Given a stripped CTCP message, returns the ctcp action string.
getAttribute(String) - Method in interface f00f.net.irc.martyr.InCommand
Returns the attribute, or null if the attribute does not exist, or is not defined.
getAttribute(String) - Method in class f00f.net.irc.martyr.commands.GenericInCommand
 
getAttribute(String) - Method in class f00f.net.irc.martyr.commands.ModeCommand
 
getAttributeKeys() - Method in interface f00f.net.irc.martyr.InCommand
Returns an iterator of String objects over the attribute names for this command.
getAttributeKeys() - Method in class f00f.net.irc.martyr.commands.GenericInCommand
 
getAttributeKeys() - Method in class f00f.net.irc.martyr.commands.ModeCommand
 
getChannel() - Method in class f00f.net.irc.martyr.replies.NamesEndReply
 
getChannel() - Method in class f00f.net.irc.martyr.commands.KickCommand
 
getChannel() - Method in class f00f.net.irc.martyr.commands.ChannelModeCommand
 
getChannel() - Method in class f00f.net.irc.martyr.commands.PartCommand
 
getChannel() - Method in class f00f.net.irc.martyr.commands.TopicCommand
 
getChannel() - Method in class f00f.net.irc.martyr.commands.JoinCommand
 
getChannel() - Method in class f00f.net.irc.martyr.commands.InviteCommand
 
getChannel() - Method in class f00f.net.irc.martyr.errors.ChannelInviteOnlyError
 
getChannel() - Method in class f00f.net.irc.martyr.errors.ChannelWrongKeyError
 
getChannel(String) - Method in class f00f.net.irc.martyr.clientstate.ClientState
 
getChannelNames() - Method in class f00f.net.irc.martyr.clientstate.ClientState
 
getChannels() - Method in class f00f.net.irc.martyr.clientstate.ClientState
 
getChar() - Method in interface f00f.net.irc.martyr.Mode
The character that represents this mode (ie o for operator)
getChar() - Method in class f00f.net.irc.martyr.modes.user.InvisibleMode
 
getChar() - Method in class f00f.net.irc.martyr.modes.channel.TopicLockMode
 
getChar() - Method in class f00f.net.irc.martyr.modes.channel.AnonChannelMode
 
getChar() - Method in class f00f.net.irc.martyr.modes.channel.PrivateMode
 
getChar() - Method in class f00f.net.irc.martyr.modes.channel.NoExtMsgMode
 
getChar() - Method in class f00f.net.irc.martyr.modes.channel.LimitMode
 
getChar() - Method in class f00f.net.irc.martyr.modes.channel.BanMode
 
getChar() - Method in class f00f.net.irc.martyr.modes.channel.OperMode
 
getChar() - Method in class f00f.net.irc.martyr.modes.channel.InviteOnlyMode
 
getChar() - Method in class f00f.net.irc.martyr.modes.channel.ExceptionMode
 
getChar() - Method in class f00f.net.irc.martyr.modes.channel.InviteMaskMode
 
getChar() - Method in class f00f.net.irc.martyr.modes.channel.ModeratedMode
 
getChar() - Method in class f00f.net.irc.martyr.modes.channel.SecretMode
 
getChar() - Method in class f00f.net.irc.martyr.modes.channel.VoiceMode
 
getChar() - Method in class f00f.net.irc.martyr.modes.channel.KeyMode
 
getClientState() - Method in class f00f.net.irc.martyr.IRCConnection
 
getCommand(String) - Method in class f00f.net.irc.martyr.CommandRegister
 
getComment() - Method in class f00f.net.irc.martyr.replies.NamesEndReply
 
getComment() - Method in class f00f.net.irc.martyr.commands.KickCommand
 
getComment() - Method in class f00f.net.irc.martyr.errors.ChannelInviteOnlyError
 
getComment() - Method in class f00f.net.irc.martyr.errors.ChannelWrongKeyError
 
getConnection() - Method in class f00f.net.irc.martyr.GenericCommandAutoService
 
getCreationDate() - Method in class f00f.net.irc.martyr.clientstate.Channel
 
getCronManager() - Method in class f00f.net.irc.martyr.IRCConnection
 
getDccChatHandler(Socket) - Method in class f00f.net.irc.martyr.dcc.AutoDccSetup
Returns a DCC chat handler.
getDccSendHandler(Socket, String, int) - Method in class f00f.net.irc.martyr.dcc.AutoDccSetup
Returns a DCC file "send" (receive to us) handler.
getDest() - Method in class f00f.net.irc.martyr.commands.MessageCommand
 
getHost() - Method in class f00f.net.irc.martyr.util.FullNick
 
getInstance(String) - Static method in class f00f.net.irc.martyr.dcc.DccType
 
getIntParameter(String, int, int) - Method in class f00f.net.irc.martyr.commands.GenericInCommand
 
getIrcIdentifier() - Method in interface f00f.net.irc.martyr.Command
Returns the string IRC uses to identify this command.
getIrcIdentifier() - Method in class f00f.net.irc.martyr.dcc.ChatRequestCommand
 
getIrcIdentifier() - Method in class f00f.net.irc.martyr.replies.LUserOpReply
 
getIrcIdentifier() - Method in class f00f.net.irc.martyr.replies.LUserMeReply
 
getIrcIdentifier() - Method in class f00f.net.irc.martyr.replies.ChannelCreationReply
 
getIrcIdentifier() - Method in class f00f.net.irc.martyr.replies.TopicInfoReply
 
getIrcIdentifier() - Method in class f00f.net.irc.martyr.replies.NamesEndReply
 
getIrcIdentifier() - Method in class f00f.net.irc.martyr.replies.ModeReply
 
getIrcIdentifier() - Method in class f00f.net.irc.martyr.replies.NamesReply
 
getIrcIdentifier() - Method in class f00f.net.irc.martyr.replies.LUserClientReply
 
getIrcIdentifier() - Method in class f00f.net.irc.martyr.commands.MessageCommand
Returns the string IRC uses to identify this command.
getIrcIdentifier() - Method in class f00f.net.irc.martyr.commands.KickCommand
 
getIrcIdentifier() - Method in class f00f.net.irc.martyr.commands.ModeCommand
 
getIrcIdentifier() - Method in class f00f.net.irc.martyr.commands.QuitCommand
 
getIrcIdentifier() - Method in class f00f.net.irc.martyr.commands.PingCommand
Returns the string IRC uses to identify this command.
getIrcIdentifier() - Method in class f00f.net.irc.martyr.commands.PongCommand
 
getIrcIdentifier() - Method in class f00f.net.irc.martyr.commands.PartCommand
 
getIrcIdentifier() - Method in class f00f.net.irc.martyr.commands.TopicCommand
 
getIrcIdentifier() - Method in class f00f.net.irc.martyr.commands.RawCommand
Returns the identifier, if supplied, or null.
getIrcIdentifier() - Method in class f00f.net.irc.martyr.commands.UserCommand
 
getIrcIdentifier() - Method in class f00f.net.irc.martyr.commands.NickCommand
 
getIrcIdentifier() - Method in class f00f.net.irc.martyr.commands.UnknownCommand
Unknown, so we don't know what the identifier is ahead of time.
getIrcIdentifier() - Method in class f00f.net.irc.martyr.commands.JoinCommand
 
getIrcIdentifier() - Method in class f00f.net.irc.martyr.commands.WelcomeCommand
Returns the string IRC uses to identify this command.
getIrcIdentifier() - Method in class f00f.net.irc.martyr.commands.InviteCommand
 
getIrcIdentifier() - Method in class f00f.net.irc.martyr.commands.NoticeCommand
Returns the string IRC uses to identify this command.
getIrcIdentifier() - Method in class f00f.net.irc.martyr.errors.ChannelInviteOnlyError
 
getIrcIdentifier() - Method in class f00f.net.irc.martyr.errors.NickInUseError
 
getIrcIdentifier() - Method in class f00f.net.irc.martyr.errors.ChannelWrongKeyError
 
getKicked() - Method in class f00f.net.irc.martyr.commands.KickCommand
 
getKicker() - Method in class f00f.net.irc.martyr.commands.KickCommand
 
getLocalAddress() - Method in class f00f.net.irc.martyr.IRCConnection
 
getLocalhost() - Method in class f00f.net.irc.martyr.IRCConnection
Deprecated. Pending removal due to unspecified behaviour, use getLocalAddress instead.
getMembers() - Method in class f00f.net.irc.martyr.clientstate.Channel
Returns an enumeration of Member objects, in no particular order.
getMessage() - Method in class f00f.net.irc.martyr.commands.MessageCommand
 
getMessageStr(String) - Static method in class f00f.net.irc.martyr.commands.CtcpMessage
 
getModes() - Method in class f00f.net.irc.martyr.clientstate.Channel
 
getName() - Method in class f00f.net.irc.martyr.clientstate.Channel
 
getNick() - Method in class f00f.net.irc.martyr.util.FullNick
 
getNick() - Method in class f00f.net.irc.martyr.clientstate.Member
 
getNick() - Method in class f00f.net.irc.martyr.clientstate.ClientState
 
getNick() - Method in class f00f.net.irc.martyr.commands.NickCommand
 
getNick() - Method in class f00f.net.irc.martyr.commands.WelcomeCommand
 
getNick() - Method in class f00f.net.irc.martyr.commands.InviteCommand
 
getNick() - Method in class f00f.net.irc.martyr.errors.NickInUseError
 
getNickIterator(String) - Method in class f00f.net.irc.martyr.AutoRegister
This method supplies an Iterator that generates nicknames.
getNotice() - Method in class f00f.net.irc.martyr.commands.WelcomeCommand
 
getNotice() - Method in class f00f.net.irc.martyr.commands.NoticeCommand
 
getNumOps() - Method in class f00f.net.irc.martyr.replies.LUserOpReply
 
getOldNick() - Method in class f00f.net.irc.martyr.commands.NickCommand
 
getOutputStream() - Static method in class f00f.net.irc.martyr.Debug
 
getParam() - Method in interface f00f.net.irc.martyr.Mode
Returns the parameter that was set with setParam(...)
getParam() - Method in class f00f.net.irc.martyr.modes.GenericMode
 
getParameter(String, int) - Method in class f00f.net.irc.martyr.commands.GenericInCommand
Utility method to make parsing easy.
getPingSource() - Method in class f00f.net.irc.martyr.commands.PingCommand
 
getPongDest() - Method in class f00f.net.irc.martyr.commands.PongCommand
 
getPort() - Method in class f00f.net.irc.martyr.clientstate.ClientState
 
getReason() - Method in class f00f.net.irc.martyr.commands.QuitCommand
 
getReason() - Method in class f00f.net.irc.martyr.commands.PartCommand
 
getRemotehost() - Method in class f00f.net.irc.martyr.IRCConnection
 
getSecret() - Method in class f00f.net.irc.martyr.commands.JoinCommand
 
getSender() - Method in class f00f.net.irc.martyr.commands.ChannelModeCommand
 
getServer() - Method in class f00f.net.irc.martyr.clientstate.ClientState
 
getSign() - Method in interface f00f.net.irc.martyr.Mode
 
getSign() - Method in class f00f.net.irc.martyr.modes.GenericMode
 
getSource() - Method in class f00f.net.irc.martyr.commands.MessageCommand
 
getSourceString() - Method in interface f00f.net.irc.martyr.InCommand
Allows a third party to receive a copy of the raw string.
getSourceString() - Method in class f00f.net.irc.martyr.commands.GenericInCommand
 
getSourceString() - Method in class f00f.net.irc.martyr.commands.ModeCommand
 
getState() - Method in class f00f.net.irc.martyr.IRCConnection
 
getState() - Method in interface f00f.net.irc.martyr.InCommand
Some commands, when received by the server, can only occur in one state.
getState() - Method in class f00f.net.irc.martyr.commands.GenericInCommand
Some commands, when received by the server, can only occur in one state.
getState() - Method in class f00f.net.irc.martyr.commands.ModeCommand
 
getState() - Method in class f00f.net.irc.martyr.commands.PingCommand
 
getState() - Method in class f00f.net.irc.martyr.commands.UnknownCommand
 
getState() - Method in class f00f.net.irc.martyr.commands.NoticeCommand
 
getState() - Method in class f00f.net.irc.martyr.errors.ChannelInviteOnlyError
 
getState() - Method in class f00f.net.irc.martyr.errors.NickInUseError
 
getStreamForReceive(String, int) - Method in class f00f.net.irc.martyr.dcc.DccSendHandler
This method should return an output stream that a file can be placed into.
getString() - Method in class f00f.net.irc.martyr.replies.GenericStringReply
 
getTopic() - Method in class f00f.net.irc.martyr.clientstate.Channel
 
getTopic() - Method in class f00f.net.irc.martyr.commands.TopicCommand
 
getTopicAuthor() - Method in class f00f.net.irc.martyr.clientstate.Channel
 
getTopicDate() - Method in class f00f.net.irc.martyr.clientstate.Channel
 
getUser() - Method in class f00f.net.irc.martyr.util.FullNick
 
getUser() - Method in class f00f.net.irc.martyr.commands.UserModeCommand
 
getUser() - Method in class f00f.net.irc.martyr.commands.QuitCommand
 
getUser() - Method in class f00f.net.irc.martyr.commands.PartCommand
 
getUser() - Method in class f00f.net.irc.martyr.commands.JoinCommand
 
getUser() - Method in class f00f.net.irc.martyr.commands.InviteCommand
 
go(String, int) - Method in class f00f.net.irc.martyr.AutoReconnect
Attempts to connect, returning only when a connection has been made or repeated connections have failed.

H

handleCtcp(CtcpMessage) - Method in class f00f.net.irc.martyr.dcc.AutoDccSetup
 
handleDccChat(Socket) - Method in class f00f.net.irc.martyr.dcc.DccChatHandler
A call to this method means that a connection has been established and chat should commence.
handleDccConnection(Socket, DccType, String, int) - Method in class f00f.net.irc.martyr.dcc.AutoDccSetup
Handles a chat or send connection.
handleDccSend(Socket, String, int) - Method in class f00f.net.irc.martyr.dcc.DccSendHandler
A call to this method means that a connection has been established and processing the file should commence.
hashCode() - Method in class f00f.net.irc.martyr.util.FullNick
 
hashCode() - Method in class f00f.net.irc.martyr.modes.GenericMode
 
hasNext() - Method in class f00f.net.irc.martyr.util.CtcpUtil.CtcpTokenizer
 
hasNext() - Method in class f00f.net.irc.martyr.util.ParameterIterator
 
hasOps() - Method in class f00f.net.irc.martyr.clientstate.Member
 
hasVoice() - Method in class f00f.net.irc.martyr.clientstate.Member
 

I

IDENTIFIER - Static variable in class f00f.net.irc.martyr.commands.ModeCommand
 
IDENTIFIER - Static variable in class f00f.net.irc.martyr.commands.UserCommand
 
IDENTIFIER_PRIMARY - Static variable in class f00f.net.irc.martyr.commands.TopicCommand
 
IDENTIFIER_SECONDARY - Static variable in class f00f.net.irc.martyr.commands.TopicCommand
 
InCommand - interface f00f.net.irc.martyr.InCommand.
Defines commands that come from the server.
InetAddrTest - class f00f.net.irc.martyr.test.InetAddrTest.
This is simply a unit test to determine the behaviour of the InetAddress class.
InetAddrTest() - Constructor for class f00f.net.irc.martyr.test.InetAddrTest
 
InvalidDccException - exception f00f.net.irc.martyr.dcc.InvalidDccException.
 
InvalidDccException(String) - Constructor for class f00f.net.irc.martyr.dcc.InvalidDccException
 
InvisibleMode - class f00f.net.irc.martyr.modes.user.InvisibleMode.
 
InvisibleMode() - Constructor for class f00f.net.irc.martyr.modes.user.InvisibleMode
 
InviteCommand - class f00f.net.irc.martyr.commands.InviteCommand.
 
InviteCommand() - Constructor for class f00f.net.irc.martyr.commands.InviteCommand
For use as a factory
InviteCommand(FullNick, String) - Constructor for class f00f.net.irc.martyr.commands.InviteCommand
 
InviteCommand(String, String) - Constructor for class f00f.net.irc.martyr.commands.InviteCommand
 
InviteMaskMode - class f00f.net.irc.martyr.modes.channel.InviteMaskMode.
Channel Invitation - For channels which have the invite-only flag set (See Section 4.2.2 (Invite Only Flag)), users whose address matches an invitation mask set for the channel are allowed to join the channel without any invitation.
InviteMaskMode() - Constructor for class f00f.net.irc.martyr.modes.channel.InviteMaskMode
 
InviteOnlyMode - class f00f.net.irc.martyr.modes.channel.InviteOnlyMode.
Invite Only Flag - When the channel flag 'i' is set, new members are only accepted if their mask matches Invite-list (See section 4.3.2) or they have been invited by a channel operator.
InviteOnlyMode() - Constructor for class f00f.net.irc.martyr.modes.channel.InviteOnlyMode
 
IRCConnection - class f00f.net.irc.martyr.IRCConnection.
IRCConnection is the core class for Martyr.
IRCConnection() - Constructor for class f00f.net.irc.martyr.IRCConnection
 
IRCConnection(ClientState) - Constructor for class f00f.net.irc.martyr.IRCConnection
 
IRCConsole - class f00f.net.irc.martyr.test.IRCConsole.
IRC Console is a simple program to let you issue raw IRC commands.
IRCConsole.CommandListener - class f00f.net.irc.martyr.test.IRCConsole.CommandListener.
 
IRCConsole.CommandListener(IRCConsole, IRCConnection, TextArea) - Constructor for class f00f.net.irc.martyr.test.IRCConsole.CommandListener
 
IRCConsole() - Constructor for class f00f.net.irc.martyr.test.IRCConsole
 
isChannel(String) - Static method in class f00f.net.irc.martyr.clientstate.Channel
Determines if the string represents a channel name or not.
isCtcpString(String) - Static method in class f00f.net.irc.martyr.commands.CtcpMessage
If the string is wrapped with CTCP signal chars (\001) returns true.
isEnabled() - Method in class f00f.net.irc.martyr.GenericCommandAutoService
 
isMemberInChannel(Member) - Method in class f00f.net.irc.martyr.clientstate.Channel
Determines if the member is in this channel.
isMemberInChannel(String) - Method in class f00f.net.irc.martyr.clientstate.Channel
Determines if the nick is in the channel.
isNextACtcp() - Method in class f00f.net.irc.martyr.util.CtcpUtil.CtcpTokenizer
 
isOnChannel(String) - Method in class f00f.net.irc.martyr.clientstate.ClientState
 
isOurQuit(ClientState) - Method in class f00f.net.irc.martyr.commands.QuitCommand
Returns true if we are the ones quitting.
isPrivateToUs(ClientState) - Method in class f00f.net.irc.martyr.commands.MessageCommand
Returns true if the message is both private and for us.
isScheduled() - Method in class f00f.net.irc.martyr.TimerTaskCommand
 

J

JoinCommand - class f00f.net.irc.martyr.commands.JoinCommand.
Defines JOIN command.
JoinCommand() - Constructor for class f00f.net.irc.martyr.commands.JoinCommand
For use as a factory
JoinCommand(String) - Constructor for class f00f.net.irc.martyr.commands.JoinCommand
This constructor is used to make a request to join a channel.
JoinCommand(String, String) - Constructor for class f00f.net.irc.martyr.commands.JoinCommand
This constructor is used to make a request to join a channel that requires a secret key to join.

K

KeyMode - class f00f.net.irc.martyr.modes.channel.KeyMode.
Channel Key - When a channel key is set (by using the mode 'k'), servers MUST reject their local users request to join the channel unless this key is given.
KeyMode() - Constructor for class f00f.net.irc.martyr.modes.channel.KeyMode
 
KickCommand - class f00f.net.irc.martyr.commands.KickCommand.
Defines KICK command.
KickCommand() - Constructor for class f00f.net.irc.martyr.commands.KickCommand
For use as a factory
KickCommand(FullNick, String, String, String) - Constructor for class f00f.net.irc.martyr.commands.KickCommand
 
KickCommand(String, String, String) - Constructor for class f00f.net.irc.martyr.commands.KickCommand
 
kickedUs(ClientState) - Method in class f00f.net.irc.martyr.commands.KickCommand
 

L

LimitMode - class f00f.net.irc.martyr.modes.channel.LimitMode.
User Limit - A user limit may be set on channels by using the channel flag 'l'.
LimitMode() - Constructor for class f00f.net.irc.martyr.modes.channel.LimitMode
 
LUserClientReply - class f00f.net.irc.martyr.replies.LUserClientReply.
 
LUserClientReply() - Constructor for class f00f.net.irc.martyr.replies.LUserClientReply
 
LUserClientReply(String) - Constructor for class f00f.net.irc.martyr.replies.LUserClientReply
 
LUserMeReply - class f00f.net.irc.martyr.replies.LUserMeReply.
 
LUserMeReply() - Constructor for class f00f.net.irc.martyr.replies.LUserMeReply
 
LUserMeReply(String) - Constructor for class f00f.net.irc.martyr.replies.LUserMeReply
 
LUserOpReply - class f00f.net.irc.martyr.replies.LUserOpReply.
 
LUserOpReply() - Constructor for class f00f.net.irc.martyr.replies.LUserOpReply
 
LUserOpReply(int, String) - Constructor for class f00f.net.irc.martyr.replies.LUserOpReply
 

M

main(String[]) - Static method in class f00f.net.irc.martyr.test.InetAddrTest
 
main(String[]) - Static method in class f00f.net.irc.martyr.test.IRCConsole
 
main(String[]) - Static method in class f00f.net.irc.martyr.test.DccTestBot
 
main(String[]) - Static method in class f00f.net.irc.martyr.test.MartyrTest
A really simple test, all this does is login to a network and join a channel, say hello, then die after 15 seconds.
main(String[]) - Static method in class f00f.net.irc.martyr.util.FullNick
Unit test.
makeActionString(String) - Static method in class f00f.net.irc.martyr.util.CtcpUtil
Returns a new string ready for sending via MessageCommand.
makeCtcpString(String) - Static method in class f00f.net.irc.martyr.util.CtcpUtil
 
makeMember(String) - Method in class f00f.net.irc.martyr.clientstate.Channel
To use a customized Member class, override this.
makeModes() - Method in class f00f.net.irc.martyr.commands.ChannelModeCommand
 
makeSocket(InetAddress, int) - Method in class f00f.net.irc.martyr.dcc.AutoDccSetup
Generates a connected socket, connected to the machine that made the request for a DCC.
MartyrTest - class f00f.net.irc.martyr.test.MartyrTest.
 
MartyrTest() - Constructor for class f00f.net.irc.martyr.test.MartyrTest
 
MAX_ATTEMPTS - Static variable in class f00f.net.irc.martyr.AutoRegister
 
Member - class f00f.net.irc.martyr.clientstate.Member.
This class allows channels to keep track of individual users.
Member(String) - Constructor for class f00f.net.irc.martyr.clientstate.Member
Strips off the leading 'at' or 'plus', sets ops or voice, and keeps the nick.
MessageCommand - class f00f.net.irc.martyr.commands.MessageCommand.
Defines the PRIVMSG command.
MessageCommand() - Constructor for class f00f.net.irc.martyr.commands.MessageCommand
Factory
MessageCommand(FullNick, String) - Constructor for class f00f.net.irc.martyr.commands.MessageCommand
Used to send a message.
MessageCommand(FullNick, String, String) - Constructor for class f00f.net.irc.martyr.commands.MessageCommand
 
MessageCommand(String, String) - Constructor for class f00f.net.irc.martyr.commands.MessageCommand
Used to send a message.
Mode - interface f00f.net.irc.martyr.Mode.
Any class which is to represent a mode must implement this interface.
Mode.Sign - class f00f.net.irc.martyr.Mode.Sign.
Finally, the Sign enumeration.
ModeCommand - class f00f.net.irc.martyr.commands.ModeCommand.
Defines MODE command.
ModeCommand() - Constructor for class f00f.net.irc.martyr.commands.ModeCommand
For use as a factory
ModeratedMode - class f00f.net.irc.martyr.modes.channel.ModeratedMode.
Moderated Channel Flag - The channel flag 'm' is used to control who may speak on a channel.
ModeratedMode() - Constructor for class f00f.net.irc.martyr.modes.channel.ModeratedMode
 
ModeReply - class f00f.net.irc.martyr.replies.ModeReply.
ModeReply is really a factory that passes the ModeReply off to a ChannelModeCommand.
ModeReply() - Constructor for class f00f.net.irc.martyr.replies.ModeReply
For use as a factory.

N

NamesEndReply - class f00f.net.irc.martyr.replies.NamesEndReply.
 
NamesEndReply() - Constructor for class f00f.net.irc.martyr.replies.NamesEndReply
For use as a factory.
NamesEndReply(String, String) - Constructor for class f00f.net.irc.martyr.replies.NamesEndReply
 
NamesReply - class f00f.net.irc.martyr.replies.NamesReply.
 
NamesReply() - Constructor for class f00f.net.irc.martyr.replies.NamesReply
For use as a factory.
NamesReply(String, String) - Constructor for class f00f.net.irc.martyr.replies.NamesReply
 
NEGATIVE - Static variable in class f00f.net.irc.martyr.Mode.Sign
 
newInstance() - Method in interface f00f.net.irc.martyr.Mode
A Mode can be constructed and asked to make copies of itself.
newInstance() - Method in class f00f.net.irc.martyr.modes.user.InvisibleMode
 
newInstance() - Method in class f00f.net.irc.martyr.modes.channel.TopicLockMode
 
newInstance() - Method in class f00f.net.irc.martyr.modes.channel.AnonChannelMode
 
newInstance() - Method in class f00f.net.irc.martyr.modes.channel.PrivateMode
 
newInstance() - Method in class f00f.net.irc.martyr.modes.channel.NoExtMsgMode
 
newInstance() - Method in class f00f.net.irc.martyr.modes.channel.LimitMode
 
newInstance() - Method in class f00f.net.irc.martyr.modes.channel.BanMode
 
newInstance() - Method in class f00f.net.irc.martyr.modes.channel.OperMode
 
newInstance() - Method in class f00f.net.irc.martyr.modes.channel.InviteOnlyMode
 
newInstance() - Method in class f00f.net.irc.martyr.modes.channel.ExceptionMode
 
newInstance() - Method in class f00f.net.irc.martyr.modes.channel.InviteMaskMode
 
newInstance() - Method in class f00f.net.irc.martyr.modes.channel.ModeratedMode
 
newInstance() - Method in class f00f.net.irc.martyr.modes.channel.SecretMode
 
newInstance() - Method in class f00f.net.irc.martyr.modes.channel.VoiceMode
 
newInstance() - Method in class f00f.net.irc.martyr.modes.channel.KeyMode
 
next() - Method in class f00f.net.irc.martyr.util.CtcpUtil.CtcpTokenizer
 
next() - Method in class f00f.net.irc.martyr.util.ParameterIterator
 
nextToken() - Method in class f00f.net.irc.martyr.util.CtcpUtil.CtcpTokenizer
 
NickCommand - class f00f.net.irc.martyr.commands.NickCommand.
Defines NICK command.
NickCommand() - Constructor for class f00f.net.irc.martyr.commands.NickCommand
For use as a factory
NickCommand(FullNick, FullNick) - Constructor for class f00f.net.irc.martyr.commands.NickCommand
 
NickCommand(String) - Constructor for class f00f.net.irc.martyr.commands.NickCommand
 
NickInUseError - class f00f.net.irc.martyr.errors.NickInUseError.
 
NickInUseError() - Constructor for class f00f.net.irc.martyr.errors.NickInUseError
 
NickInUseError(FullNick) - Constructor for class f00f.net.irc.martyr.errors.NickInUseError
 
NoExtMsgMode - class f00f.net.irc.martyr.modes.channel.NoExtMsgMode.
No Messages To Channel From Clients On The Outside - When the channel flag 'n' is set, only channel members MAY send messages to the channel.
NoExtMsgMode() - Constructor for class f00f.net.irc.martyr.modes.channel.NoExtMsgMode
 
NORMAL - Static variable in class f00f.net.irc.martyr.Debug
Information about normal procedures.
NOSIGN - Static variable in class f00f.net.irc.martyr.Mode.Sign
 
NoticeCommand - class f00f.net.irc.martyr.commands.NoticeCommand.
Defines the NOTICE command.
NoticeCommand() - Constructor for class f00f.net.irc.martyr.commands.NoticeCommand
Factory
NoticeCommand(String) - Constructor for class f00f.net.irc.martyr.commands.NoticeCommand
 

O

onePerChannel() - Method in interface f00f.net.irc.martyr.Mode
Determines if there can be multiple versions of this mode in the channel.
onePerChannel() - Method in class f00f.net.irc.martyr.modes.user.GenericUserMode
Well, this is kind of irrelevent isn't it?
onePerChannel() - Method in class f00f.net.irc.martyr.modes.channel.GenericChannelMode
 
onePerChannel() - Method in class f00f.net.irc.martyr.modes.channel.GenericChannelMask
 
OperMode - class f00f.net.irc.martyr.modes.channel.OperMode.
Channel Operator Status - The mode 'o' is used to toggle the operator status of a channel member.
OperMode() - Constructor for class f00f.net.irc.martyr.modes.channel.OperMode
 
OutCommand - interface f00f.net.irc.martyr.OutCommand.
Defines an outgoing command.

P

ParameterIterator - class f00f.net.irc.martyr.util.ParameterIterator.
This class iterates over the parameter string of an IRC command, returning each parameter in order as next() is called.
ParameterIterator(String) - Constructor for class f00f.net.irc.martyr.util.ParameterIterator
 
parse(String, String, String) - Method in interface f00f.net.irc.martyr.InCommand
Parses a string and produces a formed command object, if it can.
parse(String, String, String) - Method in class f00f.net.irc.martyr.replies.LUserOpReply
 
parse(String, String, String) - Method in class f00f.net.irc.martyr.replies.LUserMeReply
 
parse(String, String, String) - Method in class f00f.net.irc.martyr.replies.ChannelCreationReply
This is a factory that passes the command off to a ChannelModeCommand.
parse(String, String, String) - Method in class f00f.net.irc.martyr.replies.TopicInfoReply
 
parse(String, String, String) - Method in class f00f.net.irc.martyr.replies.NamesEndReply
 
parse(String, String, String) - Method in class f00f.net.irc.martyr.replies.ModeReply
This is a factory that passes the command off to a ChannelModeCommand.
parse(String, String, String) - Method in class f00f.net.irc.martyr.replies.NamesReply
 
parse(String, String, String) - Method in class f00f.net.irc.martyr.replies.LUserClientReply
 
parse(String, String, String) - Method in class f00f.net.irc.martyr.commands.GenericInCommand
Parses a string and produces a formed command object, if it can.
parse(String, String, String) - Method in class f00f.net.irc.martyr.commands.MessageCommand
Parses a string and produces a formed command object, if it can.
parse(String, String, String) - Method in class f00f.net.irc.martyr.commands.KickCommand
 
parse(String, String, String) - Method in class f00f.net.irc.martyr.commands.ModeCommand
 
parse(String, String, String) - Method in class f00f.net.irc.martyr.commands.UserModeCommand
Should not be called, as ModeCommand does the parsing and instantiation of this class.
parse(String, String, String) - Method in class f00f.net.irc.martyr.commands.ChannelModeCommand
Shouldn't be called, as ModeCommand should be responsible for parsing and creating this class.
parse(String, String, String) - Method in class f00f.net.irc.martyr.commands.QuitCommand
 
parse(String, String, String) - Method in class f00f.net.irc.martyr.commands.PingCommand
Parses a string and produces a formed command object, if it can.
parse(String, String, String) - Method in class f00f.net.irc.martyr.commands.PongCommand
PONG shouldn't be sent to us.
parse(String, String, String) - Method in class f00f.net.irc.martyr.commands.PartCommand
 
parse(String, String, String) - Method in class f00f.net.irc.martyr.commands.TopicCommand
 
parse(String, String, String) - Method in class f00f.net.irc.martyr.commands.NickCommand
 
parse(String, String, String) - Method in class f00f.net.irc.martyr.commands.UnknownCommand
Never parsed.
parse(String, String, String) - Method in class f00f.net.irc.martyr.commands.JoinCommand
 
parse(String, String, String) - Method in class f00f.net.irc.martyr.commands.WelcomeCommand
Parses a string and produces a formed command object, if it can.
parse(String, String, String) - Method in class f00f.net.irc.martyr.commands.InviteCommand
 
parse(String, String, String) - Method in class f00f.net.irc.martyr.commands.NoticeCommand
Parses a string and produces a formed command object, if it can.
parse(String, String, String) - Method in class f00f.net.irc.martyr.errors.ChannelInviteOnlyError
 
parse(String, String, String) - Method in class f00f.net.irc.martyr.errors.NickInUseError
 
parse(String, String, String) - Method in class f00f.net.irc.martyr.errors.ChannelWrongKeyError
 
parseModes(Map, StringTokenizer) - Method in class f00f.net.irc.martyr.commands.ModeCommand
Takes a mode string, such as: '+ooo A B C' or '+o A +o B' or even '+o-o A B' and returns a List containing Mode objects that correspond to the modes specified.
PartCommand - class f00f.net.irc.martyr.commands.PartCommand.
Defines PART command.
PartCommand() - Constructor for class f00f.net.irc.martyr.commands.PartCommand
For use as a factory
PartCommand(FullNick, String, String) - Constructor for class f00f.net.irc.martyr.commands.PartCommand
For use as an incoming command.
PartCommand(String) - Constructor for class f00f.net.irc.martyr.commands.PartCommand
For use as an outgoing command.
PartCommand(String, String) - Constructor for class f00f.net.irc.martyr.commands.PartCommand
For use as an outgoing command.
PingCommand - class f00f.net.irc.martyr.commands.PingCommand.
Defines the PING command.
PingCommand() - Constructor for class f00f.net.irc.martyr.commands.PingCommand
Factory
PingCommand(String) - Constructor for class f00f.net.irc.martyr.commands.PingCommand
 
PongCommand - class f00f.net.irc.martyr.commands.PongCommand.
Defines the PONG command.
PongCommand(String) - Constructor for class f00f.net.irc.martyr.commands.PongCommand
 
POSITIVE - Static variable in class f00f.net.irc.martyr.Mode.Sign
 
println(Object, String, int) - Static method in class f00f.net.irc.martyr.Debug
 
println(String, String, int) - Static method in class f00f.net.irc.martyr.Debug
Writes out the message if msgLevel is less than or equal to the internal level.
PrivateMode - class f00f.net.irc.martyr.modes.channel.PrivateMode.
Private and Secret Channels - The channel flag 'p' is used to mark a channel "private" and the channel flag 's' to mark a channel "secret".
PrivateMode() - Constructor for class f00f.net.irc.martyr.modes.channel.PrivateMode
 

Q

QuitCommand - class f00f.net.irc.martyr.commands.QuitCommand.
Defines QUIT command.
QuitCommand() - Constructor for class f00f.net.irc.martyr.commands.QuitCommand
For use as a factory
QuitCommand(FullNick, String) - Constructor for class f00f.net.irc.martyr.commands.QuitCommand
For use as an incoming command.
QuitCommand(String) - Constructor for class f00f.net.irc.martyr.commands.QuitCommand
For use as an outgoing command.

R

RawCommand - class f00f.net.irc.martyr.commands.RawCommand.
 
RawCommand(String) - Constructor for class f00f.net.irc.martyr.commands.RawCommand
Tries to use the first "word" in the command as the identifier.
RawCommand(String, String) - Constructor for class f00f.net.irc.martyr.commands.RawCommand
The rendered command will be identifier + " " + parameters.
recordInChannel() - Method in interface f00f.net.irc.martyr.Mode
This mode should be recorded in the list of channel modes.
recordInChannel() - Method in class f00f.net.irc.martyr.modes.user.GenericUserMode
 
recordInChannel() - Method in class f00f.net.irc.martyr.modes.channel.GenericChannelMode
 
recordInChannel() - Method in class f00f.net.irc.martyr.modes.channel.VoiceMode
 
REGISTERED - Static variable in class f00f.net.irc.martyr.State
 
registerMode(Map, Mode) - Static method in class f00f.net.irc.martyr.commands.ModeCommand
 
remove() - Method in class f00f.net.irc.martyr.util.ParameterIterator
 
removeChannel(String) - Method in class f00f.net.irc.martyr.clientstate.ClientState
Removes a channel from the state, does nothing if the channel name is invalid.
removeCommandObserver(Observer) - Method in class f00f.net.irc.martyr.IRCConnection
 
removeMember(FullNick, Command) - Method in class f00f.net.irc.martyr.clientstate.Channel
Deprecated. Use removeMember( FullNick, InCommand ) instead.
removeMember(FullNick, InCommand) - Method in class f00f.net.irc.martyr.clientstate.Channel
Simply a wrapper to allow FullNicks to be used.
removeMember(Member) - Method in class f00f.net.irc.martyr.clientstate.Channel
 
removeMember(String, Command) - Method in class f00f.net.irc.martyr.clientstate.Channel
Deprecated. Use removeMember( String, InCommand ) instead.
removeMember(String, InCommand) - Method in class f00f.net.irc.martyr.clientstate.Channel
Removes the user from the channel.
removeStateObserver(Observer) - Method in class f00f.net.irc.martyr.IRCConnection
 
render() - Method in interface f00f.net.irc.martyr.OutCommand
Forms a string appropriate to send to the server, if required.
render() - Method in class f00f.net.irc.martyr.dcc.ChatRequestCommand
 
render() - Method in class f00f.net.irc.martyr.commands.GenericCommand
Forms a string appropriate to send to the server.
render() - Method in class f00f.net.irc.martyr.commands.ModeCommand
Should not be called, as ModeCommand doesn't actually represent a command.
render() - Method in class f00f.net.irc.martyr.commands.UserModeCommand
 
render() - Method in class f00f.net.irc.martyr.commands.ChannelModeCommand
 
render() - Method in class f00f.net.irc.martyr.commands.RawCommand
Simply returns the string given in the constructor.
render() - Method in class f00f.net.irc.martyr.commands.UserCommand
 
renderParams() - Method in class f00f.net.irc.martyr.commands.GenericCommand
Renders the parameters of this command.
renderParams() - Method in class f00f.net.irc.martyr.commands.MessageCommand
Renders the parameters of this command.
renderParams() - Method in class f00f.net.irc.martyr.commands.KickCommand
 
renderParams() - Method in class f00f.net.irc.martyr.commands.ChannelModeCommand
 
renderParams() - Method in class f00f.net.irc.martyr.commands.QuitCommand
 
renderParams() - Method in class f00f.net.irc.martyr.commands.PingCommand
Renders the parameters of this command.
renderParams() - Method in class f00f.net.irc.martyr.commands.PartCommand
 
renderParams() - Method in class f00f.net.irc.martyr.commands.TopicCommand
 
renderParams() - Method in class f00f.net.irc.martyr.commands.NickCommand
 
renderParams() - Method in class f00f.net.irc.martyr.commands.JoinCommand
 
renderParams() - Method in class f00f.net.irc.martyr.commands.InviteCommand
 
renderParams() - Method in class f00f.net.irc.martyr.commands.NoticeCommand
Renders the parameters of this command.
requiresParam() - Method in interface f00f.net.irc.martyr.Mode
Should return true if this mode requires a parameter.
requiresParam() - Method in class f00f.net.irc.martyr.modes.user.InvisibleMode
 
requiresParam() - Method in class f00f.net.irc.martyr.modes.channel.TopicLockMode
 
requiresParam() - Method in class f00f.net.irc.martyr.modes.channel.AnonChannelMode
 
requiresParam() - Method in class f00f.net.irc.martyr.modes.channel.PrivateMode
 
requiresParam() - Method in class f00f.net.irc.martyr.modes.channel.NoExtMsgMode
 
requiresParam() - Method in class f00f.net.irc.martyr.modes.channel.LimitMode
 
requiresParam() - Method in class f00f.net.irc.martyr.modes.channel.BanMode
 
requiresParam() - Method in class f00f.net.irc.martyr.modes.channel.OperMode
 
requiresParam() - Method in class f00f.net.irc.martyr.modes.channel.InviteOnlyMode
 
requiresParam() - Method in class f00f.net.irc.martyr.modes.channel.ExceptionMode
 
requiresParam() - Method in class f00f.net.irc.martyr.modes.channel.InviteMaskMode
 
requiresParam() - Method in class f00f.net.irc.martyr.modes.channel.ModeratedMode
 
requiresParam() - Method in class f00f.net.irc.martyr.modes.channel.SecretMode
 
requiresParam() - Method in class f00f.net.irc.martyr.modes.channel.VoiceMode
 
requiresParam() - Method in class f00f.net.irc.martyr.modes.channel.KeyMode
 
run() - Method in class f00f.net.irc.martyr.TimerTaskCommand
 
run() - Method in class f00f.net.irc.martyr.dcc.DccSendHandler
 
run() - Method in class f00f.net.irc.martyr.dcc.DccChatHandler
 

S

schedule(TimerTask, Date) - Method in class f00f.net.irc.martyr.CronManager
 
schedule(TimerTask, Date, long) - Method in class f00f.net.irc.martyr.CronManager
 
schedule(TimerTask, long) - Method in class f00f.net.irc.martyr.CronManager
 
schedule(TimerTask, long, long) - Method in class f00f.net.irc.martyr.CronManager
 
scheduleAtFixedRate(TimerTask, Date, long) - Method in class f00f.net.irc.martyr.CronManager
 
scheduleAtFixedRate(TimerTask, long, long) - Method in class f00f.net.irc.martyr.CronManager
 
SecretMode - class f00f.net.irc.martyr.modes.channel.SecretMode.
Private and Secret Channels - The channel flag 'p' is used to mark a channel "private" and the channel flag 's' to mark a channel "secret".
SecretMode() - Constructor for class f00f.net.irc.martyr.modes.channel.SecretMode
 
selfRegister(CommandRegister) - Method in interface f00f.net.irc.martyr.InCommand
Every incoming command should know how to register itself with the command register.
selfRegister(CommandRegister) - Method in class f00f.net.irc.martyr.commands.GenericInCommand
Every command should know how to register itself (or not) with the command parsing engine.
selfRegister(CommandRegister) - Method in class f00f.net.irc.martyr.commands.ModeCommand
 
selfRegister(CommandRegister) - Method in class f00f.net.irc.martyr.commands.TopicCommand
 
selfRegister(CommandRegister) - Method in class f00f.net.irc.martyr.commands.WelcomeCommand
 
SEND - Static variable in class f00f.net.irc.martyr.dcc.DccType
 
sendCommand(Command) - Method in class f00f.net.irc.martyr.IRCConnection
Deprecated. Use sendCommand( OutCommand cmd ) instead.
sendCommand(OutCommand) - Method in class f00f.net.irc.martyr.IRCConnection
 
setAttribute(String, String) - Method in class f00f.net.irc.martyr.commands.GenericInCommand
 
setCreationDate(Date) - Method in class f00f.net.irc.martyr.clientstate.Channel
 
setDaemon(boolean) - Method in class f00f.net.irc.martyr.IRCConnection
Sets the daemon status on the threads that IRCConnection creates.
setDebugLevel(int) - Static method in class f00f.net.irc.martyr.Debug
Sets the debug level so that all messages equal to or less than 'level' will be output.
setMode(Mode) - Method in class f00f.net.irc.martyr.clientstate.Channel
Informs the channel of a mode change.
setName(String) - Method in class f00f.net.irc.martyr.clientstate.ClientState
 
setNick(FullNick) - Method in class f00f.net.irc.martyr.clientstate.Member
 
setNick(FullNick) - Method in class f00f.net.irc.martyr.clientstate.ClientState
 
setOps(boolean) - Method in class f00f.net.irc.martyr.clientstate.Member
 
setOutputStream(PrintStream) - Static method in class f00f.net.irc.martyr.Debug
Sets the output stream to where the debug messages will go.
setParam(String) - Method in interface f00f.net.irc.martyr.Mode
Sets the parameter that can be retrieved with getParam()
setParam(String) - Method in class f00f.net.irc.martyr.modes.GenericMode
 
setPort(int) - Method in class f00f.net.irc.martyr.clientstate.ClientState
 
setSendDelay(int) - Method in class f00f.net.irc.martyr.IRCConnection
 
setServer(String) - Method in class f00f.net.irc.martyr.clientstate.ClientState
 
setSign(Mode.Sign) - Method in interface f00f.net.irc.martyr.Mode
Sets the sign of the operation.
setSign(Mode.Sign) - Method in class f00f.net.irc.martyr.modes.GenericMode
 
setSocket(Socket) - Method in class f00f.net.irc.martyr.dcc.DccChatHandler
 
setSourceString(String) - Method in interface f00f.net.irc.martyr.InCommand
Gives the command a copy of the raw string from the server.
setSourceString(String) - Method in class f00f.net.irc.martyr.commands.GenericInCommand
 
setSourceString(String) - Method in class f00f.net.irc.martyr.commands.ModeCommand
 
setTopic(String) - Method in class f00f.net.irc.martyr.clientstate.Channel
 
setTopicAuthor(String) - Method in class f00f.net.irc.martyr.clientstate.Channel
 
setTopicDate(Date) - Method in class f00f.net.irc.martyr.clientstate.Channel
 
setUser(String) - Method in class f00f.net.irc.martyr.clientstate.ClientState
 
setVoice(boolean) - Method in class f00f.net.irc.martyr.clientstate.Member
 
SO_TIMEOUT - Static variable in class f00f.net.irc.martyr.dcc.ChatRequestCommand
Defaults to 30 minutes
State - class f00f.net.irc.martyr.State.
A simple container for state constants.
stripCtcpWrapper(String) - Static method in class f00f.net.irc.martyr.commands.CtcpMessage
Strips a CTCP wrapper, if there is one.

T

TimerTaskCommand - class f00f.net.irc.martyr.TimerTaskCommand.
This class delays sending a command to the IRC connection.
TimerTaskCommand(IRCConnection, OutCommand) - Constructor for class f00f.net.irc.martyr.TimerTaskCommand
 
TopicCommand - class f00f.net.irc.martyr.commands.TopicCommand.
 
TopicCommand() - Constructor for class f00f.net.irc.martyr.commands.TopicCommand
 
TopicCommand(String, String) - Constructor for class f00f.net.irc.martyr.commands.TopicCommand
 
TopicInfoReply - class f00f.net.irc.martyr.replies.TopicInfoReply.
Contains info about the topic, who set it and when.
TopicInfoReply() - Constructor for class f00f.net.irc.martyr.replies.TopicInfoReply
For use as a factory.
TopicInfoReply(String, Date, String) - Constructor for class f00f.net.irc.martyr.replies.TopicInfoReply
 
TopicLockMode - class f00f.net.irc.martyr.modes.channel.TopicLockMode.
Topic - The channel flag 't' is used to restrict the usage of the TOPIC command to channel operators.
TopicLockMode() - Constructor for class f00f.net.irc.martyr.modes.channel.TopicLockMode
 
toString() - Method in class f00f.net.irc.martyr.State
 
toString() - Method in class f00f.net.irc.martyr.IRCConnection
 
toString() - Method in class f00f.net.irc.martyr.AutoJoin
 
toString() - Method in class f00f.net.irc.martyr.AutoReconnect
 
toString() - Method in class f00f.net.irc.martyr.Mode.Sign
 
toString() - Method in class f00f.net.irc.martyr.AutoRegister
 
toString() - Method in class f00f.net.irc.martyr.dcc.AutoDccSetup
 
toString() - Method in class f00f.net.irc.martyr.dcc.DccType
Returns the DCC TYPE tag, either CHAT or SEND.
toString() - Method in class f00f.net.irc.martyr.util.FullNick
 
toString() - Method in class f00f.net.irc.martyr.modes.GenericMode
 
toString() - Method in class f00f.net.irc.martyr.commands.ModeCommand
 
toString() - Method in class f00f.net.irc.martyr.commands.UserModeCommand
 
toString() - Method in class f00f.net.irc.martyr.commands.WelcomeCommand
 

U

UnauthorizedDccException - exception f00f.net.irc.martyr.dcc.UnauthorizedDccException.
 
UnauthorizedDccException(String) - Constructor for class f00f.net.irc.martyr.dcc.UnauthorizedDccException
 
UNCONNECTED - Static variable in class f00f.net.irc.martyr.State
 
UNKNOWN - Static variable in class f00f.net.irc.martyr.State
 
UnknownCommand - class f00f.net.irc.martyr.commands.UnknownCommand.
Some unknown command, for which there is no factory.
UnknownCommand() - Constructor for class f00f.net.irc.martyr.commands.UnknownCommand
 
UNREGISTERED - Static variable in class f00f.net.irc.martyr.State
 
update(Observable, Object) - Method in class f00f.net.irc.martyr.GenericCommandAutoService
 
update(Observable, Object) - Method in class f00f.net.irc.martyr.GenericAutoService
 
update(Observable, Object) - Method in class f00f.net.irc.martyr.ClientStateMonitor
 
update(Observable, Object) - Method in class f00f.net.irc.martyr.AutoResponder
Does the work of figuring out what to respond to.
updateClientState(ClientState) - Method in interface f00f.net.irc.martyr.InCommand
Asks the command to ensure that information it knows about the state the server thinks the client is in matches what we have.
updateClientState(ClientState) - Method in class f00f.net.irc.martyr.replies.ChannelCreationReply
This should, theoretically, never be called, because this command is only ever used as a factory.
updateClientState(ClientState) - Method in class f00f.net.irc.martyr.replies.TopicInfoReply
 
updateClientState(ClientState) - Method in class f00f.net.irc.martyr.replies.ModeReply
This should, theoretically, never be called, because this command is only ever used as a factory.
updateClientState(ClientState) - Method in class f00f.net.irc.martyr.replies.NamesReply
Adds the list of names to the client state.
updateClientState(ClientState) - Method in class f00f.net.irc.martyr.commands.GenericInCommand
By default, commands do not update the client state.
updateClientState(ClientState) - Method in class f00f.net.irc.martyr.commands.KickCommand
 
updateClientState(ClientState) - Method in class f00f.net.irc.martyr.commands.ModeCommand
Does nothing, as this is a factory command.
updateClientState(ClientState) - Method in class f00f.net.irc.martyr.commands.UserModeCommand
 
updateClientState(ClientState) - Method in class f00f.net.irc.martyr.commands.ChannelModeCommand
Passes the modes on to the clientstate.Channel object.
updateClientState(ClientState) - Method in class f00f.net.irc.martyr.commands.QuitCommand
If we are quitting, we won't be worrying about our client state.
updateClientState(ClientState) - Method in class f00f.net.irc.martyr.commands.PartCommand
Takes client state action.
updateClientState(ClientState) - Method in class f00f.net.irc.martyr.commands.TopicCommand
 
updateClientState(ClientState) - Method in class f00f.net.irc.martyr.commands.NickCommand
 
updateClientState(ClientState) - Method in class f00f.net.irc.martyr.commands.JoinCommand
 
updateClientState(ClientState) - Method in class f00f.net.irc.martyr.commands.WelcomeCommand
Sets the nick of the client state, if there is one included with this command.
updateCommand(InCommand) - Method in class f00f.net.irc.martyr.GenericCommandAutoService
 
updateCommand(InCommand) - Method in class f00f.net.irc.martyr.AutoJoin
 
updateCommand(InCommand) - Method in class f00f.net.irc.martyr.AutoReconnect
AutoReconnect will disable itself if it sees a quit command generated by returned from the server.
updateCommand(InCommand) - Method in class f00f.net.irc.martyr.AutoRegister
 
updateCommand(InCommand) - Method in class f00f.net.irc.martyr.dcc.AutoDccSetup
Checks to see if the message is a CTCP message, and if so, calls handleCtcp.
updateCommand(InCommand) - Method in class f00f.net.irc.martyr.test.IRCConsole.CommandListener
 
updateState(State) - Method in class f00f.net.irc.martyr.GenericAutoService
 
updateState(State) - Method in class f00f.net.irc.martyr.AutoJoin
 
updateState(State) - Method in class f00f.net.irc.martyr.AutoReconnect
 
updateState(State) - Method in class f00f.net.irc.martyr.AutoRegister
 
UserCommand - class f00f.net.irc.martyr.commands.UserCommand.
Defines USER command.
UserCommand(String, String, IRCConnection) - Constructor for class f00f.net.irc.martyr.commands.UserCommand
 
UserModeCommand - class f00f.net.irc.martyr.commands.UserModeCommand.
Defines a user MODE command.
UserModeCommand(String, String, StringTokenizer) - Constructor for class f00f.net.irc.martyr.commands.UserModeCommand
 

V

VERBOSE - Static variable in class f00f.net.irc.martyr.Debug
Information about some details of normal procedures.
VoiceMode - class f00f.net.irc.martyr.modes.channel.VoiceMode.
Voice Privilege - The mode 'v' is used to give and take voice privilege to/from a channel member.
VoiceMode() - Constructor for class f00f.net.irc.martyr.modes.channel.VoiceMode
 

W

weJoined(ClientState) - Method in class f00f.net.irc.martyr.commands.JoinCommand
 
WelcomeCommand - class f00f.net.irc.martyr.commands.WelcomeCommand.
Defines the commands that a server issues to welcome us.
WelcomeCommand() - Constructor for class f00f.net.irc.martyr.commands.WelcomeCommand
Factory
WelcomeCommand(String, String) - Constructor for class f00f.net.irc.martyr.commands.WelcomeCommand
Used by parse to create an instance of WelcomeCommand.

A B C D E F G H I J K L M N O P Q R S T U V W

Copyright © 2000,2001,2002,2003 f00f networks.