| Package | Description |
|---|---|
| org.schwering.irc.lib |
| Modifier and Type | Method and Description |
|---|---|
IRCConfigBuilder |
IRCConfigBuilder.autoPong(boolean autoPong)
Enables or disables the automatic PING? PONG! support.
|
IRCConfigBuilder |
IRCConfigBuilder.config(IRCConfig config)
Copies all available fields from the given
config to this
IRCConfigBuilder. |
IRCConfigBuilder |
IRCConfigBuilder.encoding(String encoding)
Changes the character encoding (such as
"UTF-8" or
"ISO-8859-1") used to talk to the server. |
IRCConfigBuilder |
IRCConfigBuilder.exceptionHandler(IRCExceptionHandler exceptionHandler)
Sets the
IRCExceptionHandler that should be notified by
IRCConnection when an exception during send or receive of IRC
messages occurs. |
IRCConfigBuilder |
IRCConfigBuilder.host(String host)
Sets the hostname or IP address of the IRC server to connect to.
|
static IRCConfigBuilder |
IRCConfigBuilder.newBuilder()
Creates a new
IRCConfigBuilder initializing the following fields
with defaults:
autoPong(boolean)
encoding(String)
stripColors(boolean)
timeout(int)
Other fields are left null. |
IRCConfigBuilder |
IRCConfigBuilder.nick(String nick)
Sets the nick name preferred by the user who is connecting.
|
IRCConfigBuilder |
IRCConfigBuilder.password(String password)
Sets the password of the user who is connecting.
|
IRCConfigBuilder |
IRCConfigBuilder.port(int port)
Adds the given
port to the internal list of ports. |
IRCConfigBuilder |
IRCConfigBuilder.portRange(int portMin,
int portMax)
Adds the port numbers from the given range to the internal list of ports.
|
IRCConfigBuilder |
IRCConfigBuilder.ports(int... port)
Adds the given port numbers to the internal list of ports.
|
IRCConfigBuilder |
IRCConfigBuilder.realname(String realname)
Sets the real name (e.g.
|
IRCConfigBuilder |
IRCConfigBuilder.runtimeConfig(IRCRuntimeConfig runtimeConfig)
Copies all available fields from the given
runtimeConfig to this
IRCConfigBuilder. |
IRCConfigBuilder |
IRCConfigBuilder.serverConfig(IRCServerConfig serverConfig)
Copies all available fields from the given
serverConfig to this
IRCConfigBuilder. |
IRCConfigBuilder |
IRCConfigBuilder.socksProxy(String socksProxyHost,
int socksProxyPort)
Instructs the connection to use a SOCKS proxy with given
host and
port. |
IRCConfigBuilder |
IRCConfigBuilder.sslSupport(IRCSSLSupport sslSupport)
Sets the
IRCSSLSupport containing the information the
IRCConnection should use to connect using SSL. |
IRCConfigBuilder |
IRCConfigBuilder.stripColors(boolean stripColors)
Enables or disables the stripping of mIRC color codes.
|
IRCConfigBuilder |
IRCConfigBuilder.timeout(int millis)
Sets the preferred connection's timeout in milliseconds.
|
IRCConfigBuilder |
IRCConfigBuilder.trafficLogger(IRCTrafficLogger trafficLogger)
Sets the
IRCTrafficLogger that should be notified by
IRCConnection about incoming and outgoing messages. |
IRCConfigBuilder |
IRCConfigBuilder.username(String username)
Sets the username of the user connecting to the IRC server.
|
Copyright © 2006–2015. All rights reserved.