org.rhq.enterprise.server.plugins.alertIrc
Class IrcAlertComponent
java.lang.Object
org.rhq.enterprise.server.plugins.alertIrc.IrcAlertComponent
- All Implemented Interfaces:
- ServerPluginComponent
public class IrcAlertComponent
- extends Object
- implements ServerPluginComponent
Persistent component used to send alert notifications via IRC.
This component is responsible for establishing and maintaining the IRC
session as well as sending messages.
- Author:
- Justin Harris
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IrcAlertComponent
public IrcAlertComponent()
initialize
public void initialize(ServerPluginContext context)
throws Exception
- Specified by:
initialize in interface ServerPluginComponent
- Throws:
Exception
start
public void start()
- Specified by:
start in interface ServerPluginComponent
stop
public void stop()
- Specified by:
stop in interface ServerPluginComponent
shutdown
public void shutdown()
- Specified by:
shutdown in interface ServerPluginComponent
sendIrcMessage
public void sendIrcMessage(String channel,
String message)
- Sends a message to the specified channel, or all currently joined channels
if the channel is not supplied.
- Parameters:
channel - the channel to send the message to, or null if
the message should be sent to all currently joined channelsmessage -
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.