org.norther.tammi.spray.connector
Class DefaultSocketConnector
java.lang.Object
org.norther.tammi.core.base.Adaptee
org.norther.tammi.spray.connector.DefaultConnector
org.norther.tammi.spray.connector.DefaultExecutableConnector
org.norther.tammi.spray.connector.DefaultTCPConnector
org.norther.tammi.spray.connector.DefaultLocalConnector
org.norther.tammi.spray.connector.DefaultSocketConnector
- All Implemented Interfaces:
- Serializable, Runnable, NotificationBroadcaster, NotificationEmitter, Manageable, MBeanDelegate, Startable, Executable, Connector, ExecutableConnector, LocalConnector, SocketConnector, TCPConnector
public class DefaultSocketConnector
- extends DefaultLocalConnector
- implements SocketConnector
A default implementation of SocketConnector.
- Author:
- Ilkka Priha
- See Also:
- Serialized Form
|
Method Summary |
void |
setAddress(String addr)
Sets the address of the server of the connection. |
| Methods inherited from class org.norther.tammi.spray.connector.DefaultTCPConnector |
getReceiveBufferSize, getSendBufferSize, getServerBufferSize, getSoLinger, getSoTimeout, isTcpNoDelay, setReceiveBufferSize, setSendBufferSize, setServerBufferSize, setSoLinger, setSoTimeout, setTcpNoDelay |
| Methods inherited from class org.norther.tammi.spray.connector.DefaultConnector |
getAddress, getConnectionTimeout, getFilterMBean, getFilterName, getInetAddress, getKeyAlias, getLoggerMBean, getLoggerName, getMaxIdleConnections, getName, getPort, getProvider, getRedirectPort, getRequestTimeout, getTimeoutMBean, isKeepConnection, isLoggingDisabled, isSecure, setConnectionTimeout, setFilterName, setInetAddress, setKeyAlias, setKeyPassword, setLoggerName, setLoggingDisabled, setMaxIdleConnections, setPort, setProvider, setRedirectPort, setRequestTimeout, setSecure |
| Methods inherited from class org.norther.tammi.core.base.Adaptee |
addAdaptee, addNotificationListener, getAttributeSupport, getBroker, getCanonicalName, getDomain, getFactory, getLoader, getLog, getLog, getMBean, getMBeanServer, getNotificationInfo, getObjectName, getRegistrationTime, getSequenceNumber, hasListeners, isRegistered, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotification, sendNotification, unregister |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.norther.tammi.spray.connector.TCPConnector |
getReceiveBufferSize, getSendBufferSize, getServerBufferSize, getSoLinger, getSoTimeout, isTcpNoDelay, setReceiveBufferSize, setSendBufferSize, setServerBufferSize, setSoLinger, setSoTimeout, setTcpNoDelay |
| Methods inherited from interface org.norther.tammi.spray.connector.Connector |
getAddress, getConnectionTimeout, getFilterName, getKeyAlias, getLoggerName, getMaxIdleConnections, getName, getPort, getProvider, getRedirectPort, getRequestTimeout, isKeepConnection, isLoggingDisabled, isSecure, keepConnection, setConnectionTimeout, setFilterName, setKeyAlias, setKeyPassword, setLoggerName, setLoggingDisabled, setPort, setProvider, setRedirectPort, setRequestTimeout, setSecure |
| Methods inherited from interface java.lang.Runnable |
run |
DefaultSocketConnector
public DefaultSocketConnector()
- Constructs a new socket connector.
setAddress
public void setAddress(String addr)
throws UnknownHostException
- Description copied from class:
DefaultConnector
- Sets the address of the server of the connection.
- Specified by:
setAddress in interface SocketConnector- Overrides:
setAddress in class DefaultConnector
- Parameters:
addr - the address of the server.
- Throws:
UnknownHostException - if not found.
Copyright © 2004 The Norther Organization. All rights reserved.