Constructor and Description |
---|
IrcConfiguration() |
IrcConfiguration(String hostname,
String nickname,
String displayname,
String channels) |
IrcConfiguration(String hostname,
String username,
String password,
String nickname,
String displayname,
String channels) |
Modifier and Type | Method and Description |
---|---|
void |
configure(String uriStr) |
IrcConfiguration |
copy() |
IrcChannel |
findChannel(String name) |
String |
getCacheKey() |
List<IrcChannel> |
getChannelList() |
String |
getChannels()
Comma separated list of IRC channels.
|
long |
getCommandTimeout() |
String |
getHostname() |
String |
getKeys()
Comma separated list of keys for channels.
|
String |
getNickname() |
String |
getNickPassword()
Your IRC server nickname password.
|
String |
getPassword() |
int |
getPort() |
int[] |
getPorts() |
String |
getRealname() |
String |
getSpaceSeparatedChannelNames() |
org.apache.camel.support.jsse.SSLContextParameters |
getSslContextParameters() |
org.schwering.irc.lib.ssl.SSLTrustManager |
getTrustManager() |
String |
getUsername() |
boolean |
getUsingSSL() |
boolean |
isAutoRejoin() |
boolean |
isColors() |
boolean |
isNamesOnJoin() |
boolean |
isOnJoin() |
boolean |
isOnKick() |
boolean |
isOnMode() |
boolean |
isOnNick() |
boolean |
isOnPart() |
boolean |
isOnPrivmsg() |
boolean |
isOnQuit() |
boolean |
isOnReply() |
boolean |
isOnTopic() |
boolean |
isPersistent() |
static String |
sanitize(String uri) |
void |
setAutoRejoin(boolean autoRejoin)
Whether to auto re-join when being kicked
|
void |
setChannels(String channels) |
void |
setColors(boolean colors)
Whether or not the server supports color codes.
|
void |
setCommandTimeout(long timeout)
Delay in milliseconds before sending commands after the connection is established.
|
void |
setHostname(String hostname)
Hostname for the IRC chat server
|
void |
setKeys(String keys) |
void |
setNamesOnJoin(boolean namesOnJoin)
Sends
NAMES command to channel after joining it.onReply has to be true in order to process the result which will have the header value
irc.num = '353' . |
void |
setNickname(String nickname)
The nickname used in chat.
|
void |
setNickPassword(String nickPassword) |
void |
setOnJoin(boolean onJoin)
Handle user join events.
|
void |
setOnKick(boolean onKick)
Handle kick events.
|
void |
setOnMode(boolean onMode)
Handle mode change events.
|
void |
setOnNick(boolean onNick)
Handle nickname change events.
|
void |
setOnPart(boolean onPart)
Handle user part events.
|
void |
setOnPrivmsg(boolean onPrivmsg)
Handle private message events.
|
void |
setOnQuit(boolean onQuit)
Handle user quit events.
|
void |
setOnReply(boolean onReply)
Whether or not to handle general responses to commands or informational messages.
|
void |
setOnTopic(boolean onTopic)
Handle topic change events.
|
void |
setPassword(String password)
The IRC server password.
|
void |
setPersistent(boolean persistent)
Deprecated.
not in use
|
void |
setPort(int port)
Port number for the IRC chat server.
|
void |
setPorts(int[] ports)
Port numbers for the IRC chat server
|
void |
setRealname(String realname)
The IRC user's actual name.
|
void |
setSslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
Used for configuring security using SSL.
|
void |
setTrustManager(org.schwering.irc.lib.ssl.SSLTrustManager trustManager)
The trust manager used to verify the SSL server's certificate.
|
void |
setUsername(String username)
The IRC server user name.
|
String |
toString() |
public IrcConfiguration()
public IrcConfiguration(String hostname, String nickname, String displayname, String channels)
public IrcConfiguration copy()
public String getCacheKey()
public String getSpaceSeparatedChannelNames()
public void configure(String uriStr) throws URISyntaxException
URISyntaxException
public List<IrcChannel> getChannelList()
public IrcChannel findChannel(String name)
public void setTrustManager(org.schwering.irc.lib.ssl.SSLTrustManager trustManager)
public org.schwering.irc.lib.ssl.SSLTrustManager getTrustManager()
public boolean getUsingSSL()
public String getHostname()
public void setHostname(String hostname)
public String getPassword()
public void setPassword(String password)
public String getNickname()
public void setNickname(String nickname)
public String getRealname()
public void setRealname(String realname)
public String getUsername()
public String getChannels()
public void setChannels(String channels)
public String getKeys()
public void setKeys(String keys)
public void setUsername(String username)
public int[] getPorts()
public void setPorts(int[] ports)
public int getPort()
public void setPort(int port)
public boolean isPersistent()
@Deprecated public void setPersistent(boolean persistent)
public boolean isColors()
public void setColors(boolean colors)
public boolean isOnNick()
public void setOnNick(boolean onNick)
public boolean isOnQuit()
public void setOnQuit(boolean onQuit)
public boolean isOnJoin()
public void setOnJoin(boolean onJoin)
public boolean isOnKick()
public void setOnKick(boolean onKick)
public boolean isOnMode()
public void setOnMode(boolean onMode)
public boolean isOnPart()
public void setOnPart(boolean onPart)
public boolean isOnReply()
public void setOnReply(boolean onReply)
public boolean isOnTopic()
public void setOnTopic(boolean onTopic)
public boolean isOnPrivmsg()
public void setOnPrivmsg(boolean onPrivmsg)
public boolean isAutoRejoin()
public void setAutoRejoin(boolean autoRejoin)
public org.apache.camel.support.jsse.SSLContextParameters getSslContextParameters()
public void setSslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
public String getNickPassword()
public void setNickPassword(String nickPassword)
public void setCommandTimeout(long timeout)
timeout
- timeout value in millisecondspublic long getCommandTimeout()
public boolean isNamesOnJoin()
public void setNamesOnJoin(boolean namesOnJoin)
NAMES
command to channel after joining it.onReply
has to be true
in order to process the result which will have the header value
irc.num = '353'
.Apache Camel