f00f.net.irc.martyr
Class FAQ

java.lang.Object
  |
  +--f00f.net.irc.martyr.FAQ

public class FAQ
extends java.lang.Object

Some Frequenty Asked Questions.

How do I use Martyr?

Take a good look at the IRCConnection class. Also check out the programs in the test package. There are several small testing programs that show how to use the fundamentals of Martyr. For a better example, check out the justin bot.

How do I get rid of all the output?

Martyr is very verbose (for now) with its debugging output. You can disable this by calling Debug.setDebugLevel( Debug.FAULT );

What happened to Command?

Command got divided into InCommand and OutCommand. Sorry about breaking the API, but Command's representation of two seperate ideas was getting to be a real pain.

Existing code using an expression such as (object instanceof Command) will still return true on command objects, however, the Command interface no longer defines much.

How do I add socks support?

Martyr does not directly support SOCKS, but it can work with an external SOCKS library. IRCConnection allows you to pass a custom Socket instance into the connect(...) method. Thus, a library such as jsocks is ideal for use with Martyr.

Note that while IRCConnection.connect allows you to pass in your own Socket, AutoReconnect does not have a way to pass your own Socket to IRCConnection on a reconnect. You can either subclass AutoReconnect and override the getSocket method, or subclass IRCConnection and override connect.

See Also:
IRCConnection

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



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