org.apache.camel.component.mina
Class MinaEndpoint

java.lang.Object
  extended by org.apache.camel.impl.DefaultEndpoint<MinaExchange>
      extended by org.apache.camel.component.mina.MinaEndpoint
All Implemented Interfaces:
org.apache.camel.Endpoint<MinaExchange>

public class MinaEndpoint
extends org.apache.camel.impl.DefaultEndpoint<MinaExchange>

Version:
$Revision: 537816 $

Constructor Summary
MinaEndpoint(String endpointUri, MinaComponent component, SocketAddress address, IoAcceptor acceptor, IoConnector connector, IoServiceConfig config)
           
 
Method Summary
 org.apache.camel.Consumer<MinaExchange> createConsumer(org.apache.camel.Processor processor)
           
 MinaExchange createExchange()
           
 MinaExchange createExchange(IoSession session, Object object)
           
 org.apache.camel.Producer<MinaExchange> createProducer()
           
 IoAcceptor getAcceptor()
           
 SocketAddress getAddress()
           
 IoServiceConfig getConfig()
           
 IoConnector getConnector()
           
 boolean isSingleton()
           
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
convertTo, createExchange, createExecutorService, createPollingConsumer, equals, getComponent, getContext, getEndpointUri, getExchangeType, getExecutorService, hashCode, setExecutorService, toExchangeType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MinaEndpoint

public MinaEndpoint(String endpointUri,
                    MinaComponent component,
                    SocketAddress address,
                    IoAcceptor acceptor,
                    IoConnector connector,
                    IoServiceConfig config)
Method Detail

createProducer

public org.apache.camel.Producer<MinaExchange> createProducer()
                                                       throws Exception
Throws:
Exception

createConsumer

public org.apache.camel.Consumer<MinaExchange> createConsumer(org.apache.camel.Processor processor)
                                                       throws Exception
Throws:
Exception

createExchange

public MinaExchange createExchange()

createExchange

public MinaExchange createExchange(IoSession session,
                                   Object object)

getAcceptor

public IoAcceptor getAcceptor()

getAddress

public SocketAddress getAddress()

getConnector

public IoConnector getConnector()

getConfig

public IoServiceConfig getConfig()

isSingleton

public boolean isSingleton()


Copyright © 2007 Apache Software Foundation. All Rights Reserved.