|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.rhq.enterprise.server.plugins.alertIrc.IrcAlertComponent
public class IrcAlertComponent
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.
| Constructor Summary | |
|---|---|
IrcAlertComponent()
|
|
| Method Summary | |
|---|---|
void |
initialize(ServerPluginContext context)
|
void |
sendIrcMessage(java.lang.String channel,
java.lang.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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IrcAlertComponent()
| Method Detail |
|---|
public void initialize(ServerPluginContext context)
throws java.lang.Exception
initialize in interface ServerPluginComponentjava.lang.Exceptionpublic void start()
start in interface ServerPluginComponentpublic void stop()
stop in interface ServerPluginComponentpublic void shutdown()
shutdown in interface ServerPluginComponent
public void sendIrcMessage(java.lang.String channel,
java.lang.String message)
channel - the channel to send the message to, or null if
the message should be sent to all currently joined channelsmessage -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||