org.apache.camel.component.irc
Class IrcEndpoint
java.lang.Object
org.apache.camel.impl.DefaultEndpoint<IrcExchange>
org.apache.camel.component.irc.IrcEndpoint
- All Implemented Interfaces:
- CamelContextAware, Endpoint<IrcExchange>
public class IrcEndpoint
- extends DefaultEndpoint<IrcExchange>
Defines the IRC Endpoint
- Version:
- $Revision: 655516 $
Method Summary |
IrcConsumer |
createConsumer(Processor processor)
|
IrcExchange |
createExchange(ExchangePattern pattern)
|
IrcExchange |
createOnJoinExchange(String channel,
org.schwering.irc.lib.IRCUser user)
|
IrcExchange |
createOnKickExchange(String channel,
org.schwering.irc.lib.IRCUser user,
String whoWasKickedNick,
String msg)
|
IrcExchange |
createOnModeExchange(String channel,
org.schwering.irc.lib.IRCUser user,
org.schwering.irc.lib.IRCModeParser modeParser)
|
IrcExchange |
createOnNickExchange(org.schwering.irc.lib.IRCUser user,
String newNick)
|
IrcExchange |
createOnPartExchange(String channel,
org.schwering.irc.lib.IRCUser user,
String msg)
|
IrcExchange |
createOnPrivmsgExchange(String target,
org.schwering.irc.lib.IRCUser user,
String msg)
|
IrcExchange |
createOnQuitExchange(org.schwering.irc.lib.IRCUser user,
String msg)
|
IrcExchange |
createOnTopicExchange(String channel,
org.schwering.irc.lib.IRCUser user,
String topic)
|
IrcProducer |
createProducer()
|
IrcBinding |
getBinding()
|
IrcComponent |
getComponent()
|
IrcConfiguration |
getConfiguration()
|
boolean |
isSingleton()
|
void |
setBinding(IrcBinding binding)
|
void |
setComponent(IrcComponent component)
|
void |
setConfiguration(IrcConfiguration configuration)
|
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
configureProperties, convertTo, createEndpointUri, createExchange, createExchange, createExecutorService, createPollingConsumer, equals, getCamelContext, getContext, getEndpointUri, getExchangePattern, getExchangeType, getExecutorService, hashCode, isLenientProperties, setCamelContext, setContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setExecutorService, toString |
IrcEndpoint
public IrcEndpoint(String endpointUri,
IrcComponent component,
IrcConfiguration configuration)
isSingleton
public boolean isSingleton()
createExchange
public IrcExchange createExchange(ExchangePattern pattern)
- Specified by:
createExchange
in interface Endpoint<IrcExchange>
- Overrides:
createExchange
in class DefaultEndpoint<IrcExchange>
createOnPrivmsgExchange
public IrcExchange createOnPrivmsgExchange(String target,
org.schwering.irc.lib.IRCUser user,
String msg)
createOnNickExchange
public IrcExchange createOnNickExchange(org.schwering.irc.lib.IRCUser user,
String newNick)
createOnQuitExchange
public IrcExchange createOnQuitExchange(org.schwering.irc.lib.IRCUser user,
String msg)
createOnJoinExchange
public IrcExchange createOnJoinExchange(String channel,
org.schwering.irc.lib.IRCUser user)
createOnKickExchange
public IrcExchange createOnKickExchange(String channel,
org.schwering.irc.lib.IRCUser user,
String whoWasKickedNick,
String msg)
createOnModeExchange
public IrcExchange createOnModeExchange(String channel,
org.schwering.irc.lib.IRCUser user,
org.schwering.irc.lib.IRCModeParser modeParser)
createOnPartExchange
public IrcExchange createOnPartExchange(String channel,
org.schwering.irc.lib.IRCUser user,
String msg)
createOnTopicExchange
public IrcExchange createOnTopicExchange(String channel,
org.schwering.irc.lib.IRCUser user,
String topic)
createProducer
public IrcProducer createProducer()
throws Exception
- Throws:
Exception
createConsumer
public IrcConsumer createConsumer(Processor processor)
throws Exception
- Throws:
Exception
getComponent
public IrcComponent getComponent()
- Overrides:
getComponent
in class DefaultEndpoint<IrcExchange>
setComponent
public void setComponent(IrcComponent component)
getBinding
public IrcBinding getBinding()
setBinding
public void setBinding(IrcBinding binding)
getConfiguration
public IrcConfiguration getConfiguration()
setConfiguration
public void setConfiguration(IrcConfiguration configuration)
Copyright © 2009 Apache Software Foundation. All Rights Reserved.