public class IrcProducer
extends org.apache.camel.support.DefaultProducer
Constructor and Description |
---|
IrcProducer(IrcEndpoint endpoint) |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart() |
protected void |
doStop() |
IrcEndpoint |
getEndpoint() |
org.schwering.irc.lib.IRCEventAdapter |
getListener() |
protected boolean |
isMessageACommand(String msg) |
void |
process(org.apache.camel.Exchange exchange) |
protected void |
reconnect() |
void |
setListener(org.schwering.irc.lib.IRCEventAdapter listener) |
createExchange, isSingleton, toString
build, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final String[] COMMANDS
public IrcProducer(IrcEndpoint endpoint)
public IrcEndpoint getEndpoint()
getEndpoint
in interface org.apache.camel.EndpointAware
getEndpoint
in class org.apache.camel.support.DefaultProducer
protected void doStart() throws Exception
doStart
in class org.apache.camel.support.DefaultProducer
Exception
protected void reconnect()
protected void doStop() throws Exception
doStop
in class org.apache.camel.support.DefaultProducer
Exception
protected boolean isMessageACommand(String msg)
public org.schwering.irc.lib.IRCEventAdapter getListener()
public void setListener(org.schwering.irc.lib.IRCEventAdapter listener)
Apache Camel