public interface IRCHandlerMBean
Modifier and Type | Method and Description |
---|---|
void |
away(String message)
Sets the user's status to away
|
void |
back()
Remove away message
|
void |
changeTopic(String channel,
String topic) |
void |
connect(Map<String,String> settings)
Connects the current user to an IRC server, the map should be in a format like:
{
"host": "my.irc.hostname",
"nickname": "myNick",
"ports": "6667,6668",
"password": "mypass",
"username": "myuser",
"realname": "my name",
"useSSL": false
}
only "host" and "nickname" are required.
|
boolean |
connected()
Checks to see if we have a connection to the IRC server
|
void |
disconnect()
Disconnects the current user from an IRC server
|
List<Object> |
fetch()
Fetch any available messages from the server that the mbean has
received
|
void |
getUserHost(String nicknames) |
void |
join(String channel)
Join an IRC channel
|
void |
join(String channel,
String key)
Join an IRC channel with a key
|
void |
kick(String channel,
String nick) |
void |
kick(String channel,
String nick,
String message) |
void |
list() |
void |
list(String channels) |
void |
message(String target,
String message) |
void |
names() |
void |
names(String channels) |
void |
nick(String nick) |
void |
notice(String target,
String message) |
void |
part(String channel) |
void |
part(String channel,
String message) |
void |
send(String command)
Send a low-level IRC command to the IRC server
|
void |
topic(String channel) |
void |
who(String nick) |
void |
whois(String nick) |
void |
whowas(String nick) |
void connect(Map<String,String> settings)
settings
- List<Object> fetch()
void send(String command)
command
- boolean connected()
void disconnect()
void back()
void away(String message)
message
- void join(String channel)
channel
- void join(String channel, String key)
channel
- key
- void list()
void list(String channels)
void names()
void names(String channels)
void nick(String nick)
void part(String channel)
void topic(String channel)
void getUserHost(String nicknames)
void who(String nick)
void whowas(String nick)
void whois(String nick)
Copyright © 2020 JBoss by Red Hat. All rights reserved.