public class IRCServerComponent extends Object implements ResourceComponent<ResourceComponent<?>>, OperationFacet
| Modifier and Type | Class and Description |
|---|---|
class |
IRCServerComponent.Bot |
static class |
IRCServerComponent.ChannelInfo |
| Constructor and Description |
|---|
IRCServerComponent() |
| Modifier and Type | Method and Description |
|---|---|
org.rhq.core.domain.measurement.AvailabilityType |
getAvailability()
Return availability of this resource
|
int |
getUserCount(String channel) |
OperationResult |
invokeOperation(String name,
org.rhq.core.domain.configuration.Configuration parameters) |
boolean |
isInChannel(String channel) |
void |
registerChannel(IRCChannelComponent channelComponent) |
void |
sendMessage(String channel,
String message) |
void |
start(ResourceContext context)
Start the resource connection
|
void |
stop()
Tear down the rescource connection
|
void |
unregisterChannel(IRCChannelComponent channelComponent) |
public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
getAvailability in interface AvailabilityFacetAvailabilityFacet.getAvailability()public void start(ResourceContext context) throws InvalidPluginConfigurationException, Exception
start in interface ResourceComponent<ResourceComponent<?>>InvalidPluginConfigurationExceptionExceptionResourceComponent.start(org.rhq.core.pluginapi.inventory.ResourceContext)public void registerChannel(IRCChannelComponent channelComponent)
public void unregisterChannel(IRCChannelComponent channelComponent)
public boolean isInChannel(String channel)
public OperationResult invokeOperation(String name, org.rhq.core.domain.configuration.Configuration parameters) throws InterruptedException, Exception
invokeOperation in interface OperationFacetInterruptedExceptionExceptionpublic int getUserCount(String channel)
public void stop()
stop in interface ResourceComponent<ResourceComponent<?>>ResourceComponent.stop()Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.