org.apache.camel.component.irc
Class IrcEndpoint

java.lang.Object
  extended by org.apache.camel.impl.DefaultEndpoint
      extended by org.apache.camel.component.irc.IrcEndpoint
All Implemented Interfaces:
CamelContextAware, Endpoint, IsSingleton

public class IrcEndpoint
extends DefaultEndpoint

Defines the IRC Endpoint

Version:
$Revision: 787840 $

Constructor Summary
IrcEndpoint(String endpointUri, IrcComponent component, IrcConfiguration configuration)
           
 
Method Summary
 IrcConsumer createConsumer(Processor processor)
           
 Exchange createExchange(ExchangePattern pattern)
           
 Exchange createOnJoinExchange(String channel, org.schwering.irc.lib.IRCUser user)
           
 Exchange createOnKickExchange(String channel, org.schwering.irc.lib.IRCUser user, String whoWasKickedNick, String msg)
           
 Exchange createOnModeExchange(String channel, org.schwering.irc.lib.IRCUser user, org.schwering.irc.lib.IRCModeParser modeParser)
           
 Exchange createOnNickExchange(org.schwering.irc.lib.IRCUser user, String newNick)
           
 Exchange createOnPartExchange(String channel, org.schwering.irc.lib.IRCUser user, String msg)
           
 Exchange createOnPrivmsgExchange(String target, org.schwering.irc.lib.IRCUser user, String msg)
           
 Exchange createOnQuitExchange(org.schwering.irc.lib.IRCUser user, String msg)
           
 Exchange 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, createEndpointUri, createExchange, createExchange, createPollingConsumer, createScheduledExecutorService, equals, getCamelContext, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getExecutorService, getScheduledExecutorService, hashCode, isLenientProperties, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setExecutorService, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IrcEndpoint

public IrcEndpoint(String endpointUri,
                   IrcComponent component,
                   IrcConfiguration configuration)
Method Detail

isSingleton

public boolean isSingleton()

createExchange

public Exchange createExchange(ExchangePattern pattern)
Specified by:
createExchange in interface Endpoint
Overrides:
createExchange in class DefaultEndpoint

createOnPrivmsgExchange

public Exchange createOnPrivmsgExchange(String target,
                                        org.schwering.irc.lib.IRCUser user,
                                        String msg)

createOnNickExchange

public Exchange createOnNickExchange(org.schwering.irc.lib.IRCUser user,
                                     String newNick)

createOnQuitExchange

public Exchange createOnQuitExchange(org.schwering.irc.lib.IRCUser user,
                                     String msg)

createOnJoinExchange

public Exchange createOnJoinExchange(String channel,
                                     org.schwering.irc.lib.IRCUser user)

createOnKickExchange

public Exchange createOnKickExchange(String channel,
                                     org.schwering.irc.lib.IRCUser user,
                                     String whoWasKickedNick,
                                     String msg)

createOnModeExchange

public Exchange createOnModeExchange(String channel,
                                     org.schwering.irc.lib.IRCUser user,
                                     org.schwering.irc.lib.IRCModeParser modeParser)

createOnPartExchange

public Exchange createOnPartExchange(String channel,
                                     org.schwering.irc.lib.IRCUser user,
                                     String msg)

createOnTopicExchange

public Exchange 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

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)


Apache CAMEL