org.apache.camel.component.netty
Class NettyConfiguration

java.lang.Object
  extended by org.apache.camel.component.netty.NettyConfiguration
All Implemented Interfaces:
Cloneable

public class NettyConfiguration
extends Object
implements Cloneable


Constructor Summary
NettyConfiguration()
           
 
Method Summary
 NettyConfiguration copy()
          Returns a copy of this configuration
 String getAddress()
           
 long getConnectTimeout()
           
 int getCorePoolSize()
           
 org.jboss.netty.channel.ChannelUpstreamHandler getDecoder()
           
 List<org.jboss.netty.channel.ChannelUpstreamHandler> getDecoders()
           
 org.jboss.netty.channel.ChannelDownstreamHandler getEncoder()
           
 List<org.jboss.netty.channel.ChannelDownstreamHandler> getEncoders()
           
 org.jboss.netty.channel.ChannelHandler getHandler()
           
 String getHost()
           
 File getKeyStoreFile()
           
 String getKeyStoreFormat()
           
 int getMaxPoolSize()
           
 LoggingLevel getNoReplyLogLevel()
           
 String getPassphrase()
           
 int getPort()
           
 String getProtocol()
           
 long getReceiveBufferSize()
           
 String getSecurityProvider()
           
 long getSendBufferSize()
           
 org.jboss.netty.handler.ssl.SslHandler getSslHandler()
           
 long getTimeout()
           
 File getTrustStoreFile()
           
 boolean isBroadcast()
           
 boolean isDisconnect()
           
 boolean isDisconnectOnNoReply()
           
 boolean isKeepAlive()
           
 boolean isLazyChannelCreation()
           
 boolean isReuseAddress()
           
 boolean isSsl()
           
 boolean isSync()
           
 boolean isTcpNoDelay()
           
 boolean isTransferExchange()
           
 void parseURI(URI uri, Map<String,Object> parameters, NettyComponent component)
           
 void setBroadcast(boolean broadcast)
           
 void setConnectTimeout(long connectTimeout)
           
 void setCorePoolSize(int corePoolSize)
           
 void setDecoder(org.jboss.netty.channel.ChannelUpstreamHandler decoder)
           
 void setDecoders(List<org.jboss.netty.channel.ChannelUpstreamHandler> decoders)
           
 void setDisconnect(boolean disconnect)
           
 void setDisconnectOnNoReply(boolean disconnectOnNoReply)
           
 void setEncoder(org.jboss.netty.channel.ChannelDownstreamHandler encoder)
           
 void setEncoders(List<org.jboss.netty.channel.ChannelDownstreamHandler> encoders)
           
 void setHandler(org.jboss.netty.channel.ChannelHandler handler)
           
 void setHost(String host)
           
 void setKeepAlive(boolean keepAlive)
           
 void setKeyStoreFile(File keyStoreFile)
           
 void setKeyStoreFormat(String keyStoreFormat)
           
 void setLazyChannelCreation(boolean lazyChannelCreation)
           
 void setMaxPoolSize(int maxPoolSize)
           
 void setNoReplyLogLevel(LoggingLevel noReplyLogLevel)
           
 void setPassphrase(String passphrase)
           
 void setPort(int port)
           
 void setProtocol(String protocol)
           
 void setReceiveBufferSize(long receiveBufferSize)
           
 void setReuseAddress(boolean reuseAddress)
           
 void setSecurityProvider(String securityProvider)
           
 void setSendBufferSize(long sendBufferSize)
           
 void setSsl(boolean ssl)
           
 void setSslHandler(org.jboss.netty.handler.ssl.SslHandler sslHandler)
           
 void setSync(boolean sync)
           
 void setTcpNoDelay(boolean tcpNoDelay)
           
 void setTimeout(long timeout)
           
 void setTransferExchange(boolean transferExchange)
           
 void setTrustStoreFile(File trustStoreFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NettyConfiguration

public NettyConfiguration()
Method Detail

copy

public NettyConfiguration copy()
Returns a copy of this configuration


parseURI

public void parseURI(URI uri,
                     Map<String,Object> parameters,
                     NettyComponent component)
              throws Exception
Throws:
Exception

getProtocol

public String getProtocol()

setProtocol

public void setProtocol(String protocol)

getHost

public String getHost()

setHost

public void setHost(String host)

getPort

public int getPort()

setPort

public void setPort(int port)

isKeepAlive

public boolean isKeepAlive()

setKeepAlive

public void setKeepAlive(boolean keepAlive)

isTcpNoDelay

public boolean isTcpNoDelay()

setTcpNoDelay

public void setTcpNoDelay(boolean tcpNoDelay)

isBroadcast

public boolean isBroadcast()

setBroadcast

public void setBroadcast(boolean broadcast)

getConnectTimeout

public long getConnectTimeout()

setConnectTimeout

public void setConnectTimeout(long connectTimeout)

isReuseAddress

public boolean isReuseAddress()

setReuseAddress

public void setReuseAddress(boolean reuseAddress)

isSync

public boolean isSync()

setSync

public void setSync(boolean sync)

getSslHandler

public org.jboss.netty.handler.ssl.SslHandler getSslHandler()

setSslHandler

public void setSslHandler(org.jboss.netty.handler.ssl.SslHandler sslHandler)

getEncoders

public List<org.jboss.netty.channel.ChannelDownstreamHandler> getEncoders()

getDecoders

public List<org.jboss.netty.channel.ChannelUpstreamHandler> getDecoders()

getEncoder

public org.jboss.netty.channel.ChannelDownstreamHandler getEncoder()

setEncoder

public void setEncoder(org.jboss.netty.channel.ChannelDownstreamHandler encoder)

setEncoders

public void setEncoders(List<org.jboss.netty.channel.ChannelDownstreamHandler> encoders)

getDecoder

public org.jboss.netty.channel.ChannelUpstreamHandler getDecoder()

setDecoder

public void setDecoder(org.jboss.netty.channel.ChannelUpstreamHandler decoder)

setDecoders

public void setDecoders(List<org.jboss.netty.channel.ChannelUpstreamHandler> decoders)

getHandler

public org.jboss.netty.channel.ChannelHandler getHandler()

setHandler

public void setHandler(org.jboss.netty.channel.ChannelHandler handler)

getTimeout

public long getTimeout()

setTimeout

public void setTimeout(long timeout)

getSendBufferSize

public long getSendBufferSize()

setSendBufferSize

public void setSendBufferSize(long sendBufferSize)

isSsl

public boolean isSsl()

setSsl

public void setSsl(boolean ssl)

getReceiveBufferSize

public long getReceiveBufferSize()

setReceiveBufferSize

public void setReceiveBufferSize(long receiveBufferSize)

getPassphrase

public String getPassphrase()

setPassphrase

public void setPassphrase(String passphrase)

getKeyStoreFile

public File getKeyStoreFile()

setKeyStoreFile

public void setKeyStoreFile(File keyStoreFile)

getTrustStoreFile

public File getTrustStoreFile()

setTrustStoreFile

public void setTrustStoreFile(File trustStoreFile)

getCorePoolSize

public int getCorePoolSize()

setCorePoolSize

public void setCorePoolSize(int corePoolSize)

getMaxPoolSize

public int getMaxPoolSize()

setMaxPoolSize

public void setMaxPoolSize(int maxPoolSize)

getKeyStoreFormat

public String getKeyStoreFormat()

setKeyStoreFormat

public void setKeyStoreFormat(String keyStoreFormat)

getSecurityProvider

public String getSecurityProvider()

setSecurityProvider

public void setSecurityProvider(String securityProvider)

isDisconnect

public boolean isDisconnect()

setDisconnect

public void setDisconnect(boolean disconnect)

isLazyChannelCreation

public boolean isLazyChannelCreation()

setLazyChannelCreation

public void setLazyChannelCreation(boolean lazyChannelCreation)

isTransferExchange

public boolean isTransferExchange()

setTransferExchange

public void setTransferExchange(boolean transferExchange)

isDisconnectOnNoReply

public boolean isDisconnectOnNoReply()

setDisconnectOnNoReply

public void setDisconnectOnNoReply(boolean disconnectOnNoReply)

getNoReplyLogLevel

public LoggingLevel getNoReplyLogLevel()

setNoReplyLogLevel

public void setNoReplyLogLevel(LoggingLevel noReplyLogLevel)

getAddress

public String getAddress()


Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.