public class IrcAlertComponent extends Object implements ServerPluginComponent
| Constructor and Description |
|---|
IrcAlertComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(ServerPluginContext context) |
void |
sendIrcMessage(String channel,
String message)
Sends a message to the specified channel, or all currently joined channels
if the channel is not supplied.
|
void |
shutdown() |
void |
start() |
void |
stop() |
public void initialize(ServerPluginContext context) throws Exception
initialize in interface ServerPluginComponentExceptionpublic void start()
start in interface ServerPluginComponentpublic void stop()
stop in interface ServerPluginComponentpublic void shutdown()
shutdown in interface ServerPluginComponentpublic void sendIrcMessage(String channel, String message)
channel - the channel to send the message to, or null if
the message should be sent to all currently joined channelsmessage - Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.