Skip navigation links
A B C D E F G H I L N O P Q R S T U V W 

A

addIRCEventListener(IRCEventListener) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
addIRCEventListener(IRCEventListener, int) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
addIRCEventListener(IRCEventListener) - Method in interface org.schwering.irc.lib.IRCConnection
Adds a new IRCEventListener which listens for actions coming from the IRC server.
autoPong(boolean) - Method in class org.schwering.irc.lib.IRCConfigBuilder
Enables or disables the automatic PING? PONG! support.

B

BOLD_INDICATOR - Static variable in interface org.schwering.irc.lib.util.IRCConstants
This is part of the mIRC code and shows that bold starts / ends.
build() - Method in class org.schwering.irc.lib.IRCConfigBuilder
 

C

close() - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
close() - Method in interface org.schwering.irc.lib.IRCConnection
Close the connection forcefully.
COLOR_END_INDICATOR - Static variable in interface org.schwering.irc.lib.util.IRCConstants
This is part of the mIRC code and shows that bold, underline and colors end.
COLOR_INDICATOR - Static variable in interface org.schwering.irc.lib.util.IRCConstants
This is part of the mIRC code and shows that a color-code starts / ends.
COLOR_REVERSE_INDICATOR - Static variable in interface org.schwering.irc.lib.util.IRCConstants
This is part of the mIRC code and indicates that the client's colors are reversed (background -> foreground and foreground -> background).
config(IRCConfig) - Method in class org.schwering.irc.lib.IRCConfigBuilder
Copies all available fields from the given config to this IRCConfigBuilder.
connect() - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
connect() - Method in interface org.schwering.irc.lib.IRCConnection
Establish a connection to the server.
Consumer() - Constructor for class org.schwering.irc.lib.impl.DefaultIRCConnection.Consumer
 
createConsumer() - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
createSocket(String, int) - Method in class org.schwering.irc.lib.impl.SocketFactory
Creates a new Socket base on the the specification passed in through the constructor.
createThread() - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
CTCPCommand - Enum in org.schwering.irc.lib.util
An enum of Client-to-client protocol (CTCP) commands.

D

DEFAULT_AUTOPONG - Static variable in class org.schwering.irc.lib.IRCConfigBuilder
DEFAULT_ENCODING - Static variable in class org.schwering.irc.lib.IRCConfigBuilder
DEFAULT_STRIP_COLORS - Static variable in class org.schwering.irc.lib.IRCConfigBuilder
DEFAULT_TIMEOUT - Static variable in class org.schwering.irc.lib.IRCConfigBuilder
Default IRCConfigBuilder.timeout is milliseconds which is 15 minutes
DefaultIRCConfig - Class in org.schwering.irc.lib.impl
An immutable IRCConfig.
DefaultIRCConfig(IRCConfig) - Constructor for class org.schwering.irc.lib.impl.DefaultIRCConfig
Creates a new DefaultIRCConfig using data from the given IRCConfig.
DefaultIRCConfig(IRCServerConfig, IRCRuntimeConfig) - Constructor for class org.schwering.irc.lib.impl.DefaultIRCConfig
Creates a new DefaultIRCConfig using data from the given IRCConfig.
DefaultIRCConfig(String, int[], String, String, String, String, String, int, boolean, boolean, IRCSSLSupport, Proxy, IRCTrafficLogger, IRCExceptionHandler) - Constructor for class org.schwering.irc.lib.impl.DefaultIRCConfig
Creates a new DefaultIRCConfig out of the individual field values.
DefaultIRCConnection - Class in org.schwering.irc.lib.impl
The default implementation of IRCConnection.
DefaultIRCConnection(IRCServerConfig, IRCRuntimeConfig) - Constructor for class org.schwering.irc.lib.impl.DefaultIRCConnection
Creates a new DefaultIRCConnection out of the given IRCServerConfig and IRCRuntimeConfig.
DefaultIRCConnection.Consumer - Class in org.schwering.irc.lib.impl
The Runnable used in the Thread for parsing incoming IRC stream.
DefaultIRCRuntimeConfig - Class in org.schwering.irc.lib.impl
An immutable IRCRuntimeConfig.
DefaultIRCRuntimeConfig(int, boolean, boolean, IRCSSLSupport, Proxy, IRCTrafficLogger, IRCExceptionHandler) - Constructor for class org.schwering.irc.lib.impl.DefaultIRCRuntimeConfig
Creates a new DefaultIRCRuntimeConfig out of the individual field values.
DefaultIRCRuntimeConfig(IRCRuntimeConfig) - Constructor for class org.schwering.irc.lib.impl.DefaultIRCRuntimeConfig
Creates a new DefaultIRCRuntimeConfig using data from the given IRCRuntimeConfig.
DefaultIRCServerConfig - Class in org.schwering.irc.lib.impl
An immutable IRCServerConfig.
DefaultIRCServerConfig(IRCServerConfig) - Constructor for class org.schwering.irc.lib.impl.DefaultIRCServerConfig
Creates a new DefaultIRCServerConfig using data from the given IRCServerConfig.
DefaultIRCServerConfig(String, int[], String, String, String, String, String) - Constructor for class org.schwering.irc.lib.impl.DefaultIRCServerConfig
Creates a new DefaultIRCServerConfig out of the individual field values.
DefaultIRCSSLSupport - Class in org.schwering.irc.lib.impl
An immutable IRCSSLSupport with KeyManagers, TrustManagers and SecureRandom configurable at creation time.
DefaultIRCSSLSupport(IRCSSLSupport) - Constructor for class org.schwering.irc.lib.impl.DefaultIRCSSLSupport
 
DefaultIRCSSLSupport(KeyManager[], TrustManager[], SecureRandom) - Constructor for class org.schwering.irc.lib.impl.DefaultIRCSSLSupport
 
DefaultIRCUser - Class in org.schwering.irc.lib.impl
An immutable IRCUser.
DefaultIRCUser(String, String, String) - Constructor for class org.schwering.irc.lib.impl.DefaultIRCUser
Creates a new IRCUser.
doAway() - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doAway(String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doAway() - Method in interface org.schwering.irc.lib.IRCConnection
Removes away message.
doAway(String) - Method in interface org.schwering.irc.lib.IRCConnection
Sets away message.
doInvite(String, String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doInvite(String, String) - Method in interface org.schwering.irc.lib.IRCConnection
Invites a user to a channel.
doIson(String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doIson(String) - Method in interface org.schwering.irc.lib.IRCConnection
Checks if one or more nicks are used on the server.
doJoin(String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doJoin(String, String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doJoin(String) - Method in interface org.schwering.irc.lib.IRCConnection
Joins a channel without a key.
doJoin(String, String) - Method in interface org.schwering.irc.lib.IRCConnection
Joins a channel with a key.
doKick(String, String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doKick(String, String, String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doKick(String, String) - Method in interface org.schwering.irc.lib.IRCConnection
Kicks a user from a channel.
doKick(String, String, String) - Method in interface org.schwering.irc.lib.IRCConnection
Kicks a user from a channel with a comment.
doList() - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doList(String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doList() - Method in interface org.schwering.irc.lib.IRCConnection
Lists all channels with their topic and status.
doList(String) - Method in interface org.schwering.irc.lib.IRCConnection
Lists channel(s) with their topic and status.
doMode(String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doMode(String, String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doMode(String) - Method in interface org.schwering.irc.lib.IRCConnection
Requests a Reply 324 for the modes of a given channel.
doMode(String, String) - Method in interface org.schwering.irc.lib.IRCConnection
Sends a mode to the server.
doNames() - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doNames(String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doNames() - Method in interface org.schwering.irc.lib.IRCConnection
Lists all visible users.
doNames(String) - Method in interface org.schwering.irc.lib.IRCConnection
Lists all visible users of (a) channel(s).
doNick(String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doNick(String) - Method in interface org.schwering.irc.lib.IRCConnection
Changes the nickname.
doNotice(String, String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doNotice(String, String) - Method in interface org.schwering.irc.lib.IRCConnection
Notices a message to a person or a channel.
doPart(String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doPart(String, String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doPart(String) - Method in interface org.schwering.irc.lib.IRCConnection
Parts from a given channel.
doPart(String, String) - Method in interface org.schwering.irc.lib.IRCConnection
Parts from a given channel with a given parg-msg.
doPong(String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doPong(String) - Method in interface org.schwering.irc.lib.IRCConnection
Quits from the IRC server with a quit-msg.
doPrivmsg(String, String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doPrivmsg(String, String) - Method in interface org.schwering.irc.lib.IRCConnection
Sends a message to a person or a channel.
doQuit() - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doQuit(String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doQuit() - Method in interface org.schwering.irc.lib.IRCConnection
Quits from the IRC server.
doQuit(String) - Method in interface org.schwering.irc.lib.IRCConnection
Quits from the IRC server with a quit-msg.
doTopic(String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doTopic(String, String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doTopic(String) - Method in interface org.schwering.irc.lib.IRCConnection
Requests the topic of a chan.
doTopic(String, String) - Method in interface org.schwering.irc.lib.IRCConnection
Changes the topic of a chan.
doUserhost(String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doUserhost(String) - Method in interface org.schwering.irc.lib.IRCConnection
Requires host-information about up to 5 users which must be listed and divided by spaces.
doWho(String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doWho(String) - Method in interface org.schwering.irc.lib.IRCConnection
Requests information about users matching the given criteric, for example a channel they are on.
doWhois(String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doWhois(String) - Method in interface org.schwering.irc.lib.IRCConnection
Requires information about an existing user.
doWhowas(String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
doWhowas(String) - Method in interface org.schwering.irc.lib.IRCConnection
Requires host-information about a user, who is not connected anymore.

E

EMPTY_X509_CERTIFICATES - Static variable in class org.schwering.irc.lib.impl.DefaultIRCSSLSupport
 
encoding(String) - Method in class org.schwering.irc.lib.IRCConfigBuilder
Changes the character encoding (such as "UTF-8" or "ISO-8859-1") used to talk to the server.
exception(IRCConnection, Throwable) - Method in interface org.schwering.irc.lib.IRCExceptionHandler
Notified upon occurence of the given exception in the given exception.
exceptionHandler(IRCExceptionHandler) - Method in class org.schwering.irc.lib.IRCConfigBuilder
Sets the IRCExceptionHandler that should be notified by IRCConnection when an exception during send or receive of IRC messages occurs.

F

fastValueOf(String) - Static method in enum org.schwering.irc.lib.util.CTCPCommand
A HashMap-backed and null-tolerant alternative to CTCPCommand.valueOf(String).
fastValueOf(String) - Static method in enum org.schwering.irc.lib.util.IRCCommand
A HashMap-backed and null-tolerant alternative to IRCCommand.valueOf(String).

G

getArgAt(int) - Method in class org.schwering.irc.lib.util.IRCModeParser
Returns the nick of a given index.
getCode() - Method in enum org.schwering.irc.lib.util.IRCReply
 
getCommand() - Method in class org.schwering.irc.lib.util.IRCParser
Returns the line's command.
getCount() - Method in class org.schwering.irc.lib.util.IRCModeParser
Returns count of modes.
getEncoding() - Method in class org.schwering.irc.lib.impl.DefaultIRCServerConfig
 
getEncoding() - Method in interface org.schwering.irc.lib.IRCServerConfig
 
getExceptionHandler() - Method in class org.schwering.irc.lib.impl.DefaultIRCConfig
 
getExceptionHandler() - Method in class org.schwering.irc.lib.impl.DefaultIRCRuntimeConfig
 
getExceptionHandler() - Method in interface org.schwering.irc.lib.IRCRuntimeConfig
 
getHost() - Method in class org.schwering.irc.lib.impl.DefaultIRCServerConfig
 
getHost() - Method in class org.schwering.irc.lib.impl.DefaultIRCUser
 
getHost() - Method in interface org.schwering.irc.lib.IRCServerConfig
 
getHost() - Method in interface org.schwering.irc.lib.IRCUser
 
getHost() - Method in class org.schwering.irc.lib.util.IRCParser
Returns the host of the person who sent the line.
getKeyManagers() - Method in class org.schwering.irc.lib.impl.DefaultIRCSSLSupport
 
getKeyManagers() - Method in interface org.schwering.irc.lib.IRCSSLSupport
 
getLine() - Method in class org.schwering.irc.lib.util.IRCModeParser
Returns the line as it was sent from the IRC server.
getLine() - Method in class org.schwering.irc.lib.util.IRCParser
Returns the unparsed line.
getLocalAddress() - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
getLocalAddress() - Method in interface org.schwering.irc.lib.IRCConnection
Returns the local address of the connection socket.
getMiddle() - Method in class org.schwering.irc.lib.util.IRCParser
Returns the line's middle.
getModeAt(int) - Method in class org.schwering.irc.lib.util.IRCModeParser
Returns the mode (for example o, v, m, i) of a given index.
getNick() - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
getNick() - Method in class org.schwering.irc.lib.impl.DefaultIRCServerConfig
 
getNick() - Method in class org.schwering.irc.lib.impl.DefaultIRCUser
 
getNick() - Method in interface org.schwering.irc.lib.IRCConnection
Returns the nickname of this instance.
getNick() - Method in interface org.schwering.irc.lib.IRCServerConfig
 
getNick() - Method in interface org.schwering.irc.lib.IRCUser
 
getNick() - Method in class org.schwering.irc.lib.util.IRCParser
Returns the nickname of the person who sent the line or the servername of the server which sent the line.
getOperatorAt(int) - Method in class org.schwering.irc.lib.util.IRCModeParser
Returns the operator (+ or -) of a given index.
getParameter(int) - Method in class org.schwering.irc.lib.util.IRCParser
Get one parameter of the line.
getParameterCount() - Method in class org.schwering.irc.lib.util.IRCParser
Gets count of parameters.
getParameters() - Method in class org.schwering.irc.lib.util.IRCParser
Returns the line's parameters which consists of the middle and the trailing.
getParametersFrom(int) - Method in class org.schwering.irc.lib.util.IRCParser
Grabs the line's parameters from the ith to the last parameter (including the ith).
getParametersTo(int) - Method in class org.schwering.irc.lib.util.IRCParser
Grabs the line's parameters from the first to the ith parameters (including the ith).
getPassword() - Method in class org.schwering.irc.lib.impl.DefaultIRCServerConfig
 
getPassword() - Method in interface org.schwering.irc.lib.IRCServerConfig
 
getPort() - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
getPort() - Method in interface org.schwering.irc.lib.IRCConnection
Returns the port to which the IRCConnection connected, or 0 if the connection failed or wasn't tried yet.
getPortAt(int) - Method in class org.schwering.irc.lib.impl.DefaultIRCServerConfig
 
getPortAt(int) - Method in interface org.schwering.irc.lib.IRCServerConfig
 
getPorts() - Method in class org.schwering.irc.lib.impl.DefaultIRCServerConfig
 
getPorts() - Method in interface org.schwering.irc.lib.IRCServerConfig
 
getPortsCount() - Method in class org.schwering.irc.lib.impl.DefaultIRCServerConfig
 
getPortsCount() - Method in interface org.schwering.irc.lib.IRCServerConfig
 
getPrefix() - Method in class org.schwering.irc.lib.util.IRCParser
Returns the line's prefix.
getProxy() - Method in class org.schwering.irc.lib.impl.DefaultIRCConfig
 
getProxy() - Method in class org.schwering.irc.lib.impl.DefaultIRCRuntimeConfig
 
getProxy() - Method in interface org.schwering.irc.lib.IRCRuntimeConfig
 
getRealname() - Method in class org.schwering.irc.lib.impl.DefaultIRCServerConfig
 
getRealname() - Method in interface org.schwering.irc.lib.IRCServerConfig
 
getSecureRandom() - Method in class org.schwering.irc.lib.impl.DefaultIRCSSLSupport
 
getSecureRandom() - Method in interface org.schwering.irc.lib.IRCSSLSupport
 
getServername() - Method in class org.schwering.irc.lib.util.IRCParser
Returns the servername of the server which sent the line or the nickname of the person who sent the line.
getSSLSupport() - Method in class org.schwering.irc.lib.impl.DefaultIRCConfig
 
getSSLSupport() - Method in class org.schwering.irc.lib.impl.DefaultIRCRuntimeConfig
 
getSSLSupport() - Method in interface org.schwering.irc.lib.IRCRuntimeConfig
 
getTimeout() - Method in class org.schwering.irc.lib.impl.DefaultIRCConfig
 
getTimeout() - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
getTimeout() - Method in class org.schwering.irc.lib.impl.DefaultIRCRuntimeConfig
 
getTimeout() - Method in interface org.schwering.irc.lib.IRCConnection
Returns the timeout of the socket.
getTimeout() - Method in interface org.schwering.irc.lib.IRCRuntimeConfig
 
getTrafficLogger() - Method in class org.schwering.irc.lib.impl.DefaultIRCConfig
 
getTrafficLogger() - Method in class org.schwering.irc.lib.impl.DefaultIRCRuntimeConfig
 
getTrafficLogger() - Method in interface org.schwering.irc.lib.IRCRuntimeConfig
 
getTrailing() - Method in class org.schwering.irc.lib.util.IRCParser
Returns the line's trailing.
getTrustManagers() - Method in class org.schwering.irc.lib.impl.DefaultIRCSSLSupport
 
getTrustManagers() - Method in interface org.schwering.irc.lib.IRCSSLSupport
 
getUser() - Method in class org.schwering.irc.lib.util.IRCParser
Returns a new IRCUser object.
getUsername() - Method in class org.schwering.irc.lib.impl.DefaultIRCServerConfig
 
getUsername() - Method in class org.schwering.irc.lib.impl.DefaultIRCUser
 
getUsername() - Method in interface org.schwering.irc.lib.IRCServerConfig
 
getUsername() - Method in interface org.schwering.irc.lib.IRCUser
 
getUsername() - Method in class org.schwering.irc.lib.util.IRCParser
Returns the username of the person who sent the line.

H

host(String) - Method in class org.schwering.irc.lib.IRCConfigBuilder
Sets the hostname or IP address of the IRC server to connect to.

I

in(String) - Method in interface org.schwering.irc.lib.IRCTrafficLogger
Called when a line is received from the IRC server.
INSECURE - Static variable in class org.schwering.irc.lib.impl.DefaultIRCSSLSupport
An insecure IRCSSLSupport instance affirming all trust requests.
INSECURE_TRUST_MANAGER - Static variable in class org.schwering.irc.lib.impl.DefaultIRCSSLSupport
An insecure X509TrustManager instance affirming all trust requests.
INVALID_TIMEOUT - Static variable in interface org.schwering.irc.lib.IRCConnection
Value returned when there is no timeout to deliver.
IRCCommand - Enum in org.schwering.irc.lib.util
An enum of IRC commands.
IRCConfig - Interface in org.schwering.irc.lib
A configuration to use when creating a new IRCConnection, a union of IRCServerConfig and IRCRuntimeConfig.
IRCConfigBuilder - Class in org.schwering.irc.lib
A fluent builder for IRCConfigs.
IRCConnection - Interface in org.schwering.irc.lib
A connection to an IRC server.
IRCConnectionFactory - Class in org.schwering.irc.lib
A factory to create new IRCConnections.
IRCConnectionFactory() - Constructor for class org.schwering.irc.lib.IRCConnectionFactory
 
IRCConstants - Interface in org.schwering.irc.lib.util
Contains constants: reply codes, error codes and mIRC color codes.
IRCEventAdapter - Class in org.schwering.irc.lib
A empty implementation if IRCEventListener.
IRCEventAdapter() - Constructor for class org.schwering.irc.lib.IRCEventAdapter
The default and only constructor does nothing.
IRCEventListener - Interface in org.schwering.irc.lib
Used as listener for incoming events like messages.
IRCExceptionHandler - Interface in org.schwering.irc.lib
A handler to be notified when there occurs any exception in IRCConnection.
IRCModeParser - Class in org.schwering.irc.lib.util
Parses channel-modes.
IRCModeParser(String) - Constructor for class org.schwering.irc.lib.util.IRCModeParser
Analyzes the modes and parses them into the parts operators (+ or -), modes (one character) and optional arguments (one word or number).
IRCModeParser(String, String) - Constructor for class org.schwering.irc.lib.util.IRCModeParser
Analyzes the modes and parses them into the parts operators (+ or -), modes (one character) and optional arguments (one word or number).
IRCParser - Class in org.schwering.irc.lib.util
Parses a line sent from the IRC server.
IRCParser(String) - Constructor for class org.schwering.irc.lib.util.IRCParser
Parses the line after erasing all mIRC color codes.
IRCParser(String, boolean) - Constructor for class org.schwering.irc.lib.util.IRCParser
The main constructor.
IRCReply - Enum in org.schwering.irc.lib.util
An enum of IRC reply codes.
IRCRuntimeConfig - Interface in org.schwering.irc.lib
The non-server part of the IRCConnection's configuration.
IRCServerConfig - Interface in org.schwering.irc.lib
A typical profile for connecting to an IRC server containing host, port, nick, username, password, etc.
IRCSSLSupport - Interface in org.schwering.irc.lib
A bunch of things necessary to connect using SSL.
IRCTrafficLogger - Interface in org.schwering.irc.lib
A logger for both ingoing and outgoing IRC messages that the IRC client sends and receives.
IRCUser - Interface in org.schwering.irc.lib
An IRC user refered to in many IRC relies.
IRCUtil - Class in org.schwering.irc.lib.util
Contains some utilities like numeric error and reply numbers.
isAutoPong() - Method in class org.schwering.irc.lib.impl.DefaultIRCConfig
 
isAutoPong() - Method in class org.schwering.irc.lib.impl.DefaultIRCRuntimeConfig
 
isAutoPong() - Method in interface org.schwering.irc.lib.IRCRuntimeConfig
 
isChan(String) - Static method in class org.schwering.irc.lib.util.IRCUtil
According to RFC2812 the channel's name may and must start with one of the following characters.
isConnected() - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
isConnected() - Method in interface org.schwering.irc.lib.IRCConnection
Tells whether there's a connection to the IRC network or not.
isSSL() - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
isSSL() - Method in interface org.schwering.irc.lib.IRCConnection
 
isStripColorsEnabled() - Method in class org.schwering.irc.lib.impl.DefaultIRCConfig
 
isStripColorsEnabled() - Method in class org.schwering.irc.lib.impl.DefaultIRCRuntimeConfig
 
isStripColorsEnabled() - Method in interface org.schwering.irc.lib.IRCRuntimeConfig
 

L

LoggingReader - Class in org.schwering.irc.lib.util
A BufferedReader that sends all read character to its LoggingReader.trafficLogger.
LoggingReader(Reader, IRCTrafficLogger) - Constructor for class org.schwering.irc.lib.util.LoggingReader
 
LoggingWriter - Class in org.schwering.irc.lib.util
A PrintWriter that sends all written character also to its LoggingWriter.trafficLogger.
LoggingWriter(Writer, IRCTrafficLogger) - Constructor for class org.schwering.irc.lib.util.LoggingWriter
 

N

newBuilder() - Static method in class org.schwering.irc.lib.IRCConfigBuilder
newConnection(IRCConfig) - Static method in class org.schwering.irc.lib.IRCConnectionFactory
 
newConnection(IRCServerConfig, IRCRuntimeConfig) - Static method in class org.schwering.irc.lib.IRCConnectionFactory
 
nick(String) - Method in class org.schwering.irc.lib.IRCConfigBuilder
Sets the nick name preferred by the user who is connecting.

O

onDisconnected() - Method in class org.schwering.irc.lib.IRCEventAdapter
Does nothing in this implementation.
onDisconnected() - Method in interface org.schwering.irc.lib.IRCEventListener
Fired when the own connection is broken.
onError(String) - Method in class org.schwering.irc.lib.IRCEventAdapter
Does nothing in this implementation.
onError(int, String) - Method in class org.schwering.irc.lib.IRCEventAdapter
Does nothing in this implementation.
onError(String) - Method in interface org.schwering.irc.lib.IRCEventListener
Fired when an ERROR command is received.
onError(int, String) - Method in interface org.schwering.irc.lib.IRCEventListener
Fired when a numeric error is received.
onInvite(String, IRCUser, String) - Method in class org.schwering.irc.lib.IRCEventAdapter
Does nothing in this implementation.
onInvite(String, IRCUser, String) - Method in interface org.schwering.irc.lib.IRCEventListener
Fired when somebody is invited to a channel.
onJoin(String, IRCUser) - Method in class org.schwering.irc.lib.IRCEventAdapter
Does nothing in this implementation.
onJoin(String, IRCUser) - Method in interface org.schwering.irc.lib.IRCEventListener
Fired when somebody joins a channel.
onKick(String, IRCUser, String, String) - Method in class org.schwering.irc.lib.IRCEventAdapter
Does nothing in this implementation.
onKick(String, IRCUser, String, String) - Method in interface org.schwering.irc.lib.IRCEventListener
Fired when somebody is kicked from a channel.
onMode(String, IRCUser, IRCModeParser) - Method in class org.schwering.irc.lib.IRCEventAdapter
Does nothing in this implementation.
onMode(IRCUser, String, String) - Method in class org.schwering.irc.lib.IRCEventAdapter
Does nothing in this implementation.
onMode(String, IRCUser, IRCModeParser) - Method in interface org.schwering.irc.lib.IRCEventListener
Fired when an operator changes the modes of a channel.
onMode(IRCUser, String, String) - Method in interface org.schwering.irc.lib.IRCEventListener
Fired when somebody changes somebody's usermodes.
onNick(IRCUser, String) - Method in class org.schwering.irc.lib.IRCEventAdapter
Does nothing in this implementation.
onNick(IRCUser, String) - Method in interface org.schwering.irc.lib.IRCEventListener
Fired when somebody changes his nickname successfully.
onNotice(String, IRCUser, String) - Method in class org.schwering.irc.lib.IRCEventAdapter
Does nothing in this implementation.
onNotice(String, IRCUser, String) - Method in interface org.schwering.irc.lib.IRCEventListener
Fired when somebody sends a NOTICE to a user or a group.
onPart(String, IRCUser, String) - Method in class org.schwering.irc.lib.IRCEventAdapter
Does nothing in this implementation.
onPart(String, IRCUser, String) - Method in interface org.schwering.irc.lib.IRCEventListener
Fired when somebody parts from a channel.
onPing(String) - Method in class org.schwering.irc.lib.IRCEventAdapter
Does nothing in this implementation.
onPing(String) - Method in interface org.schwering.irc.lib.IRCEventListener
Fired when a PING comes in.
onPrivmsg(String, IRCUser, String) - Method in class org.schwering.irc.lib.IRCEventAdapter
Does nothing in this implementation.
onPrivmsg(String, IRCUser, String) - Method in interface org.schwering.irc.lib.IRCEventListener
Fired when a user sends a PRIVMSG to a user or to a group.
onQuit(IRCUser, String) - Method in class org.schwering.irc.lib.IRCEventAdapter
Does nothing in this implementation.
onQuit(IRCUser, String) - Method in interface org.schwering.irc.lib.IRCEventListener
Fired when somebody quits from the network.
onRegistered() - Method in class org.schwering.irc.lib.IRCEventAdapter
Does nothing in this implementation.
onRegistered() - Method in interface org.schwering.irc.lib.IRCEventListener
Fired when the own connection is successfully established.
onReply(int, String, String) - Method in class org.schwering.irc.lib.IRCEventAdapter
Does nothing in this implementation.
onReply(int, String, String) - Method in interface org.schwering.irc.lib.IRCEventListener
Fired when a numeric reply is received.
onTopic(String, IRCUser, String) - Method in class org.schwering.irc.lib.IRCEventAdapter
Does nothing in this implementation.
onTopic(String, IRCUser, String) - Method in interface org.schwering.irc.lib.IRCEventListener
Fired when the topic is changed by operators.
org.schwering.irc.lib - package org.schwering.irc.lib
 
org.schwering.irc.lib.impl - package org.schwering.irc.lib.impl
IRClib is a library for the client-side of IRC (Internet Relay Chat) connections.
org.schwering.irc.lib.util - package org.schwering.irc.lib.util
 
out(String) - Method in interface org.schwering.irc.lib.IRCTrafficLogger
Called when the line is being sent to the IRC server.

P

parseInt(String) - Static method in class org.schwering.irc.lib.util.IRCUtil
Parses a String to an int via Integer.parseInt but avoids the NumberFormatException.
password(String) - Method in class org.schwering.irc.lib.IRCConfigBuilder
Sets the password of the user who is connecting.
port(int) - Method in class org.schwering.irc.lib.IRCConfigBuilder
Adds the given port to the internal list of ports.
portRange(int, int) - Method in class org.schwering.irc.lib.IRCConfigBuilder
Adds the port numbers from the given range to the internal list of ports.
ports(int...) - Method in class org.schwering.irc.lib.IRCConfigBuilder
Adds the given port numbers to the internal list of ports.
PRINT_STACK_TRACE - Static variable in interface org.schwering.irc.lib.IRCExceptionHandler
A handler that just prints the given exception's stack trace to stderr.

Q

QUOTE_CHAR - Static variable in enum org.schwering.irc.lib.util.CTCPCommand
 

R

readLine() - Method in class org.schwering.irc.lib.util.LoggingReader
 
realname(String) - Method in class org.schwering.irc.lib.IRCConfigBuilder
Sets the real name (e.g.
removeIRCEventListener(IRCEventListener) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
removeIRCEventListener(IRCEventListener) - Method in interface org.schwering.irc.lib.IRCConnection
Removes the first occurence of the given IRCEventListener from the listener-vector.
run() - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection.Consumer
Receives strings from the IRC server and hands them over to DefaultIRCConnection.get(String).
runtimeConfig(IRCRuntimeConfig) - Method in class org.schwering.irc.lib.IRCConfigBuilder
Copies all available fields from the given runtimeConfig to this IRCConfigBuilder.

S

send(String) - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
send(String) - Method in interface org.schwering.irc.lib.IRCConnection
Sends a String to the server.
serverConfig(IRCServerConfig) - Method in class org.schwering.irc.lib.IRCConfigBuilder
Copies all available fields from the given serverConfig to this IRCConfigBuilder.
SHORTEST_COMMAND_LENGTH - Static variable in enum org.schwering.irc.lib.util.CTCPCommand
 
SocketFactory - Class in org.schwering.irc.lib.impl
A factory to create sockets that takes into account things such as SocketFactory.timeout, SocketFactory.proxy and SSL support.
SocketFactory(int, Proxy, IRCSSLSupport) - Constructor for class org.schwering.irc.lib.impl.SocketFactory
 
socksProxy(String, int) - Method in class org.schwering.irc.lib.IRCConfigBuilder
Instructs the connection to use a SOCKS proxy with given host and port.
split(String, int, String) - Static method in class org.schwering.irc.lib.util.IRCUtil
Splits a string into substrings.
split(String, int) - Static method in class org.schwering.irc.lib.util.IRCUtil
Splits a string into substrings.
sslSupport(IRCSSLSupport) - Method in class org.schwering.irc.lib.IRCConfigBuilder
Sets the IRCSSLSupport containing the information the IRCConnection should use to connect using SSL.
stripColors(boolean) - Method in class org.schwering.irc.lib.IRCConfigBuilder
Enables or disables the stripping of mIRC color codes.
stripColors(String) - Static method in class org.schwering.irc.lib.util.IRCUtil
Erases the mIRC colorcodes from a String.
stripColors(StringBuilder) - Static method in class org.schwering.irc.lib.util.IRCUtil
Erases the mIRC colorcodes from a StringBuilder.
stripColorsAndCTCPDelimiters(StringBuilder) - Static method in class org.schwering.irc.lib.util.IRCUtil
Erases the mIRC colorcodes and CTCP delimiters from a StringBuilder.
SYSTEM_OUT - Static variable in interface org.schwering.irc.lib.IRCTrafficLogger
A IRCTrafficLogger implementation using System.out to output the traffic

T

timeout(int) - Method in class org.schwering.irc.lib.IRCConfigBuilder
Sets the preferred connection's timeout in milliseconds.
toArray(Collection<Integer>) - Static method in class org.schwering.irc.lib.util.IRCUtil
 
toString() - Method in class org.schwering.irc.lib.impl.DefaultIRCConnection
 
toString() - Method in class org.schwering.irc.lib.impl.DefaultIRCUser
 
toString() - Method in class org.schwering.irc.lib.util.IRCModeParser
Generates a String with some information about the instance of IRCModeParser.
toString() - Method in class org.schwering.irc.lib.util.IRCParser
Generates a String with some information about the instance of IRCParser.
trafficLogger(IRCTrafficLogger) - Method in class org.schwering.irc.lib.IRCConfigBuilder
Sets the IRCTrafficLogger that should be notified by IRCConnection about incoming and outgoing messages.

U

UNDERLINE_INDICATOR - Static variable in interface org.schwering.irc.lib.util.IRCConstants
This is part of the mIRC code and shows that bold starts / ends.
unknown(String, String, String, String) - Method in class org.schwering.irc.lib.IRCEventAdapter
Does nothing in this implementation.
unknown(String, String, String, String) - Method in interface org.schwering.irc.lib.IRCEventListener
This event is fired when the incoming line can not be identified as a known event.
username(String) - Method in class org.schwering.irc.lib.IRCConfigBuilder
Sets the username of the user connecting to the IRC server.

V

valueByCode(int) - Static method in enum org.schwering.irc.lib.util.IRCReply
 
valueOf(String) - Static method in enum org.schwering.irc.lib.util.CTCPCommand
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.schwering.irc.lib.util.IRCCommand
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.schwering.irc.lib.util.IRCReply
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.schwering.irc.lib.util.CTCPCommand
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.schwering.irc.lib.util.IRCCommand
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.schwering.irc.lib.util.IRCReply
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(String) - Method in class org.schwering.irc.lib.util.LoggingWriter
 
A B C D E F G H I L N O P Q R S T U V W 
Skip navigation links

Copyright © 2006–2015. All rights reserved.