Top Description Inners Fields Constructors Methods
org.mortbay.jetty

public abstract Class AbstractConnector

extends AbstractBuffers
implements Connector
Class Inheritance
All Implemented Interfaces
org.mortbay.jetty.Connector, org.mortbay.io.Buffers, org.mortbay.component.LifeCycle
Known Direct Subclasses
org.mortbay.jetty.LocalConnector, org.mortbay.jetty.bio.SocketConnector, org.mortbay.jetty.nio.AbstractNIOConnector
Imports
java.io.IOException, java.net.InetAddress, .Socket, .UnknownHostException, javax.servlet.ServletRequest, org.mortbay.component.LifeCycle, org.mortbay.io.EndPoint, org.mortbay.log.Log, org.mortbay.thread.ThreadPool

Abstract Connector implementation. This abstract implemenation of the Connector interface provides:
Author
gregw TODO - allow multiple Acceptor threads

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class

Field Summary

Modifier and TypeField and Description
private int
private int
private transient Thread[]
private int
private int
private String
pack-priv transient int
pack-priv transient long
pack-priv transient long
pack-priv transient long
pack-priv transient int
pack-priv transient int
pack-priv transient int
pack-priv transient int
pack-priv transient int
private boolean
private String
private String
private String
private String
private String
private int
private String
protected int
protected int
private String
private int
pack-priv transient int
private boolean
private Server
protected int
pack-priv Object
pack-priv transient long
private ThreadPool
private boolean
Inherited from org.mortbay.jetty.AbstractBuffers:
_loss

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected abstract void
accept(int acceptorID)

protected void
protected void
configure(Socket socket)

protected void
protected void
public void
customize(EndPoint endpoint, Request request)

Implements org.mortbay.jetty.Connector.customize.

Customize a request for an endpoint.
protected void
protected void
public int

Returns:

the acceptorPriority
getAcceptorPriorityOffset
()

public int

Returns:

Returns the number of acceptor threads.
getAcceptors
()

public int

Returns:

Returns the acceptQueueSize.
getAcceptQueueSize
()

public int
public String
public int

Returns:

Number of connections accepted by the server since statsReset() called. Undefined if setStatsOn(false).
getConnections
()

Implements org.mortbay.jetty.Connector.getConnections.

public long

Returns:

Average duration in milliseconds of open connections since statsReset() called. Undefined if setStatsOn(false).
getConnectionsDurationAve
()

Implements org.mortbay.jetty.Connector.getConnectionsDurationAve.

public long

Returns:

Maximum duration in milliseconds of an open connection since statsReset() called. Undefined if setStatsOn(false).
getConnectionsDurationMax
()

Implements org.mortbay.jetty.Connector.getConnectionsDurationMax.

public long

Returns:

Returns the connectionsDurationMin.
getConnectionsDurationMin
()

Implements org.mortbay.jetty.Connector.getConnectionsDurationMin.

public long

Returns:

Returns the connectionsDurationTotal.
getConnectionsDurationTotal
()

Implements org.mortbay.jetty.Connector.getConnectionsDurationTotal.

public int

Returns:

Number of connections currently open that were opened since statsReset() called. Undefined if setStatsOn(false).
getConnectionsOpen
()

Implements org.mortbay.jetty.Connector.getConnectionsOpen.

public int

Returns:

Maximum number of connections opened simultaneously since statsReset() called. Undefined if setStatsOn(false).
getConnectionsOpenMax
()

Implements org.mortbay.jetty.Connector.getConnectionsOpenMax.

public int

Returns:

Returns the connectionsOpenMin.
getConnectionsOpenMin
()

Implements org.mortbay.jetty.Connector.getConnectionsOpenMin.

public int

Returns:

Average number of requests per connection since statsReset() called. Undefined if setStatsOn(false).
getConnectionsRequestsAve
()

Implements org.mortbay.jetty.Connector.getConnectionsRequestsAve.

public int

Returns:

Maximum number of requests per connection since statsReset() called. Undefined if setStatsOn(false).
getConnectionsRequestsMax
()

Implements org.mortbay.jetty.Connector.getConnectionsRequestsMax.

public int

Returns:

Returns the connectionsRequestsMin.
getConnectionsRequestsMin
()

Implements org.mortbay.jetty.Connector.getConnectionsRequestsMin.

public String
public String
public String
public String
public String
public int
public String
protected String
getLeftMostValue(String headerValue)

public int
public int

Returns:

Returns the maxIdleTime.
getMaxIdleTime
()

Implements org.mortbay.jetty.Connector.getMaxIdleTime.

public String
public int
public int

Returns:

Get the number of requests handled by this context since last call of statsReset(). If setStatsOn(false) then this is undefined.
getRequests
()

Implements org.mortbay.jetty.Connector.getRequests.

public boolean
public boolean

Returns:

True if the the server socket will be opened in SO_REUSEADDR mode.
getReuseAddress
()

public Server
public long

Returns:

Returns the soLingerTime.
getSoLingerTime
()

public boolean

Returns:

True if statistics collection is turned on.
getStatsOn
()

Implements org.mortbay.jetty.Connector.getStatsOn.

public long

Returns:

Timestamp stats were started at.
getStatsOnMs
()

Implements org.mortbay.jetty.Connector.getStatsOnMs.

public ThreadPool
public boolean
public boolean

Returns:

true if this connector is checking the x-forwarded-for/host/server headers
isForwarded
()

Is reverse proxy handling on?

public boolean
public void
join()

public void
persist(EndPoint endpoint)

Implements org.mortbay.jetty.Connector.persist.

Persist an endpoint.
public void
setAcceptorPriorityOffset(int
the amount to alter the priority of the acceptor threads.
offset
)

Set the priority offset of the acceptor threads.

public void
setAcceptors(int
The number of acceptor threads to set.
acceptors
)

public void
setAcceptQueueSize(int
The acceptQueueSize to set.
acceptQueueSize
)

public void
setConfidentialPort(int
The confidentialPort to set.
confidentialPort
)

public void
setConfidentialScheme(String
The confidentialScheme to set.
confidentialScheme
)

public void
setForwarded(boolean
true if this connector is checking the x-forwarded-for/host/server headers
check
)

Set reverse proxy handling

public void
setForwardedForHeader(String
The header name for forwarded for (default x-forwarded-for)
forwardedRemoteAddressHeade
)

public void
setForwardedHostHeader(String
The header name for forwarded hosts (default x-forwarded-host)
forwardedHostHeader
)

public void
setForwardedServerHeader(String
The header name for forwarded server (default x-forwarded-server)
forwardedServerHeader
)

public void
public void
setHostHeader(String
The value of the host header to force.
hostHeader
)

Set a forced valued for the host header to control what is returned by ServletRequest#getServerName() and ServletRequest#getServerPort().

public void
setIntegralPort(int
The integralPort to set.
integralPort
)

public void
setIntegralScheme(String
The integralScheme to set.
integralScheme
)

public void
setLowResourceMaxIdleTime(int
The maxIdleTime to set.
maxIdleTime
)

Implements org.mortbay.jetty.Connector.setLowResourceMaxIdleTime.

public void
setMaxIdleTime(int
The maxIdleTime to set.
maxIdleTime
)

Implements org.mortbay.jetty.Connector.setMaxIdleTime.

Set the maximum Idle time for a connection, which roughly translates to the Socket#setSoTimeout(int) call, although with NIO implementations other mechanisms may be used to implement the timeout.
public void
public void
setPort(int
The port fto listen of for connections or 0 if any available port may be used.
port
)

Implements org.mortbay.jetty.Connector.setPort.

public void
setResolveNames(boolean resolve)

public void
setReuseAddress(boolean
True if the the server socket will be opened in SO_REUSEADDR mode.
reuseAddress
)

public void
public void
setSoLingerTime(int
The soLingerTime to set or -1 to disable.
soLingerTime
)

public void
public void
public void
statsReset()

Implements org.mortbay.jetty.Connector.statsReset.

Reset statistics.
public void
stopAccept(int acceptorID)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from org.mortbay.jetty.AbstractBuffers:
getBuffergetHeaderBufferSizegetRequestBufferSizegetResponseBufferSizenewBufferreturnBuffersetHeaderBufferSizesetRequestBufferSizesetResponseBufferSize

Field Detail

_acceptorPriorityOffsetback to summary
private int _acceptorPriorityOffset
_acceptorsback to summary
private int _acceptors
_acceptorThreadback to summary
private transient Thread[] _acceptorThread
_acceptQueueSizeback to summary
private int _acceptQueueSize
_confidentialPortback to summary
private int _confidentialPort
_confidentialSchemeback to summary
private String _confidentialScheme
_connectionsback to summary
pack-priv transient int _connections
_connectionsDurationMaxback to summary
pack-priv transient long _connectionsDurationMax
_connectionsDurationMinback to summary
pack-priv transient long _connectionsDurationMin
_connectionsDurationTotalback to summary
pack-priv transient long _connectionsDurationTotal
_connectionsOpenback to summary
pack-priv transient int _connectionsOpen
_connectionsOpenMaxback to summary
pack-priv transient int _connectionsOpenMax
_connectionsOpenMinback to summary
pack-priv transient int _connectionsOpenMin
_connectionsRequestsMaxback to summary
pack-priv transient int _connectionsRequestsMax
_connectionsRequestsMinback to summary
pack-priv transient int _connectionsRequestsMin
_forwardedback to summary
private boolean _forwarded
_forwardedForHeaderback to summary
private String _forwardedForHeader
_forwardedHostHeaderback to summary
private String _forwardedHostHeader
_forwardedServerHeaderback to summary
private String _forwardedServerHeader
_hostback to summary
private String _host
_hostHeaderback to summary
private String _hostHeader
_integralPortback to summary
private int _integralPort
_integralSchemeback to summary
private String _integralScheme
_lowResourceMaxIdleTimeback to summary
protected int _lowResourceMaxIdleTime
_maxIdleTimeback to summary
protected int _maxIdleTime
_nameback to summary
private String _name
_portback to summary
private int _port
_requestsback to summary
pack-priv transient int _requests
_reuseAddressback to summary
private boolean _reuseAddress
_serverback to summary
private Server _server
_soLingerTimeback to summary
protected int _soLingerTime
_statsLockback to summary
pack-priv Object _statsLock
_statsStartedAtback to summary
pack-priv transient long _statsStartedAt
_threadPoolback to summary
private ThreadPool _threadPool
_useDNSback to summary
private boolean _useDNS

Constructor Detail

AbstractConnectorback to summary
public AbstractConnector()

Method Detail

acceptback to summary
protected abstract void accept(int acceptorID) throws IOException, InterruptedException
checkForwardedHeadersback to summary
protected void checkForwardedHeaders(EndPoint endpoint, Request request) throws IOException
configureback to summary
protected void configure(Socket socket) throws IOException
connectionClosedback to summary
protected void connectionClosed(HttpConnection connection)
connectionOpenedback to summary
protected void connectionOpened(HttpConnection connection)
customizeback to summary
public void customize(EndPoint endpoint, Request request) throws IOException

Implements org.mortbay.jetty.Connector.customize.

Doc from org.mortbay.jetty.Connector.customize.

Customize a request for an endpoint. Called on every request to allow customization of the request for the particular endpoint (eg security properties from a SSL connection).

doStartback to summary
protected void doStart() throws Exception

Overrides org.mortbay.jetty.AbstractBuffers.doStart.

doStopback to summary
protected void doStop() throws Exception

Overrides org.mortbay.component.AbstractLifeCycle.doStop.

getAcceptorPriorityOffsetback to summary
public int getAcceptorPriorityOffset()
Returns:int

the acceptorPriority

getAcceptorsback to summary
public int getAcceptors()
Returns:int

Returns the number of acceptor threads.

getAcceptQueueSizeback to summary
public int getAcceptQueueSize()
Returns:int

Returns the acceptQueueSize.

getConfidentialPortback to summary
public int getConfidentialPort()

Implements org.mortbay.jetty.Connector.getConfidentialPort.

Returns:int

Doc from org.mortbay.jetty.Connector.getConfidentialPort.

The port to use when redirecting a request if a data constraint of confidential is required. See org.mortbay.jetty.security.Constraint#getDataConstraint()

getConfidentialSchemeback to summary
public String getConfidentialScheme()

Implements org.mortbay.jetty.Connector.getConfidentialScheme.

Returns:String

Doc from org.mortbay.jetty.Connector.getConfidentialScheme.

The schema to use when redirecting a request if a data constraint of confidential is required. See org.mortbay.jetty.security.Constraint#getDataConstraint()

getConnectionsback to summary
public int getConnections()

Implements org.mortbay.jetty.Connector.getConnections.

Returns:int

Number of connections accepted by the server since statsReset() called. Undefined if setStatsOn(false).

getConnectionsDurationAveback to summary
public long getConnectionsDurationAve()

Implements org.mortbay.jetty.Connector.getConnectionsDurationAve.

Returns:long

Average duration in milliseconds of open connections since statsReset() called. Undefined if setStatsOn(false).

getConnectionsDurationMaxback to summary
public long getConnectionsDurationMax()

Implements org.mortbay.jetty.Connector.getConnectionsDurationMax.

Returns:long

Maximum duration in milliseconds of an open connection since statsReset() called. Undefined if setStatsOn(false).

getConnectionsDurationMinback to summary
public long getConnectionsDurationMin()

Implements org.mortbay.jetty.Connector.getConnectionsDurationMin.

Returns:long

Returns the connectionsDurationMin.

getConnectionsDurationTotalback to summary
public long getConnectionsDurationTotal()

Implements org.mortbay.jetty.Connector.getConnectionsDurationTotal.

Returns:long

Returns the connectionsDurationTotal.

getConnectionsOpenback to summary
public int getConnectionsOpen()

Implements org.mortbay.jetty.Connector.getConnectionsOpen.

Returns:int

Number of connections currently open that were opened since statsReset() called. Undefined if setStatsOn(false).

getConnectionsOpenMaxback to summary
public int getConnectionsOpenMax()

Implements org.mortbay.jetty.Connector.getConnectionsOpenMax.

Returns:int

Maximum number of connections opened simultaneously since statsReset() called. Undefined if setStatsOn(false).

getConnectionsOpenMinback to summary
public int getConnectionsOpenMin()

Implements org.mortbay.jetty.Connector.getConnectionsOpenMin.

Returns:int

Returns the connectionsOpenMin.

getConnectionsRequestsAveback to summary
public int getConnectionsRequestsAve()

Implements org.mortbay.jetty.Connector.getConnectionsRequestsAve.

Returns:int

Average number of requests per connection since statsReset() called. Undefined if setStatsOn(false).

getConnectionsRequestsMaxback to summary
public int getConnectionsRequestsMax()

Implements org.mortbay.jetty.Connector.getConnectionsRequestsMax.

Returns:int

Maximum number of requests per connection since statsReset() called. Undefined if setStatsOn(false).

getConnectionsRequestsMinback to summary
public int getConnectionsRequestsMin()

Implements org.mortbay.jetty.Connector.getConnectionsRequestsMin.

Returns:int

Returns the connectionsRequestsMin.

getForwardedForHeaderback to summary
public String getForwardedForHeader()
getForwardedHostHeaderback to summary
public String getForwardedHostHeader()
getForwardedServerHeaderback to summary
public String getForwardedServerHeader()
getHostback to summary
public String getHost()

Implements org.mortbay.jetty.Connector.getHost.

getHostHeaderback to summary
public String getHostHeader()
getIntegralPortback to summary
public int getIntegralPort()

Implements org.mortbay.jetty.Connector.getIntegralPort.

Returns:int

Doc from org.mortbay.jetty.Connector.getIntegralPort.

The port to use when redirecting a request if a data constraint of integral is required. See org.mortbay.jetty.security.Constraint#getDataConstraint()

getIntegralSchemeback to summary
public String getIntegralScheme()

Implements org.mortbay.jetty.Connector.getIntegralScheme.

Returns:String

Doc from org.mortbay.jetty.Connector.getIntegralScheme.

The schema to use when redirecting a request if a data constraint of integral is required. See org.mortbay.jetty.security.Constraint#getDataConstraint()

getLeftMostValueback to summary
protected String getLeftMostValue(String headerValue)
getLowResourceMaxIdleTimeback to summary
public int getLowResourceMaxIdleTime()

Implements org.mortbay.jetty.Connector.getLowResourceMaxIdleTime.

Returns:int

Returns the maxIdleTime.

getMaxIdleTimeback to summary
public int getMaxIdleTime()

Implements org.mortbay.jetty.Connector.getMaxIdleTime.

Returns:int

Returns the maxIdleTime.

getNameback to summary
public String getName()

Implements org.mortbay.jetty.Connector.getName.

Returns:String

Doc from org.mortbay.jetty.Connector.getName.

the name of the connector. Defaults to the HostName:port

getPortback to summary
public int getPort()

Implements org.mortbay.jetty.Connector.getPort.

Returns:int

Doc from org.mortbay.jetty.Connector.getPort.

The configured port for the connector or 0 if any available port may be used.

getRequestsback to summary
public int getRequests()

Implements org.mortbay.jetty.Connector.getRequests.

Returns:int

Get the number of requests handled by this context since last call of statsReset(). If setStatsOn(false) then this is undefined.

getResolveNamesback to summary
public boolean getResolveNames()

Implements org.mortbay.jetty.Connector.getResolveNames.

Returns:boolean

Doc from org.mortbay.jetty.Connector.getResolveNames.

true if names resolution should be done.

getReuseAddressback to summary
public boolean getReuseAddress()
Returns:boolean

True if the the server socket will be opened in SO_REUSEADDR mode.

getServerback to summary
public Server getServer()

Implements org.mortbay.jetty.Connector.getServer.

getSoLingerTimeback to summary
public long getSoLingerTime()
Returns:long

Returns the soLingerTime.

getStatsOnback to summary
public boolean getStatsOn()

Implements org.mortbay.jetty.Connector.getStatsOn.

Returns:boolean

True if statistics collection is turned on.

getStatsOnMsback to summary
public long getStatsOnMs()

Implements org.mortbay.jetty.Connector.getStatsOnMs.

Returns:long

Timestamp stats were started at.

getThreadPoolback to summary
public ThreadPool getThreadPool()
isConfidentialback to summary
public boolean isConfidential(Request request)

Implements org.mortbay.jetty.Connector.isConfidential.

Parameters
request:Request

Doc from org.mortbay.jetty.Connector.isConfidential.

A request

Returns:boolean

Doc from org.mortbay.jetty.Connector.isConfidential.

true if the request is confidential. This normally means the https schema has been used.

isForwardedback to summary
public boolean isForwarded()

Is reverse proxy handling on?

Returns:boolean

true if this connector is checking the x-forwarded-for/host/server headers

isIntegralback to summary
public boolean isIntegral(Request request)

Implements org.mortbay.jetty.Connector.isIntegral.

Parameters
request:Request

Doc from org.mortbay.jetty.Connector.isIntegral.

A request

Returns:boolean

Doc from org.mortbay.jetty.Connector.isIntegral.

true if the request is integral. This normally means the https schema has been used.

joinback to summary
public void join() throws InterruptedException
persistback to summary
public void persist(EndPoint endpoint) throws IOException

Implements org.mortbay.jetty.Connector.persist.

Doc from org.mortbay.jetty.Connector.persist.

Persist an endpoint. Called after every request if the connection is to remain open.

setAcceptorPriorityOffsetback to summary
public void setAcceptorPriorityOffset(int offset)

Set the priority offset of the acceptor threads. The priority is adjusted by this amount (default 0) to either favour the acceptance of new threads and newly active connections or to favour the handling of already dispatched connections.

Parameters
offset:int

the amount to alter the priority of the acceptor threads.

setAcceptorsback to summary
public void setAcceptors(int acceptors)
Parameters
acceptors:int

The number of acceptor threads to set.

setAcceptQueueSizeback to summary
public void setAcceptQueueSize(int acceptQueueSize)
Parameters
acceptQueueSize:int

The acceptQueueSize to set.

setConfidentialPortback to summary
public void setConfidentialPort(int confidentialPort)
Parameters
confidentialPort:int

The confidentialPort to set.

setConfidentialSchemeback to summary
public void setConfidentialScheme(String confidentialScheme)
Parameters
confidentialScheme:String

The confidentialScheme to set.

setForwardedback to summary
public void setForwarded(boolean check)

Set reverse proxy handling

Parameters
check:boolean

true if this connector is checking the x-forwarded-for/host/server headers

setForwardedForHeaderback to summary
public void setForwardedForHeader(String forwardedRemoteAddressHeade)
Parameters
forwardedRemoteAddressHeade:String

The header name for forwarded for (default x-forwarded-for)

setForwardedHostHeaderback to summary
public void setForwardedHostHeader(String forwardedHostHeader)
Parameters
forwardedHostHeader:String

The header name for forwarded hosts (default x-forwarded-host)

setForwardedServerHeaderback to summary
public void setForwardedServerHeader(String forwardedServerHeader)
Parameters
forwardedServerHeader:String

The header name for forwarded server (default x-forwarded-server)

setHostback to summary
public void setHost(String host)

Implements org.mortbay.jetty.Connector.setHost.

setHostHeaderback to summary
public void setHostHeader(String hostHeader)

Set a forced valued for the host header to control what is returned by ServletRequest#getServerName() and ServletRequest#getServerPort(). This value is only used if isForwarded() is true.

Parameters
hostHeader:String

The value of the host header to force.

setIntegralPortback to summary
public void setIntegralPort(int integralPort)
Parameters
integralPort:int

The integralPort to set.

setIntegralSchemeback to summary
public void setIntegralScheme(String integralScheme)
Parameters
integralScheme:String

The integralScheme to set.

setLowResourceMaxIdleTimeback to summary
public void setLowResourceMaxIdleTime(int maxIdleTime)

Implements org.mortbay.jetty.Connector.setLowResourceMaxIdleTime.

Parameters
maxIdleTime:int

The maxIdleTime to set.

setMaxIdleTimeback to summary
public void setMaxIdleTime(int maxIdleTime)

Implements org.mortbay.jetty.Connector.setMaxIdleTime.

Set the maximum Idle time for a connection, which roughly translates to the Socket#setSoTimeout(int) call, although with NIO implementations other mechanisms may be used to implement the timeout. The max idle time is applied:

  • When waiting for a new request to be received on a connection
  • When reading the headers and content of a request
  • When writing the headers and content of a response
Jetty interprets this value as the maximum time between some progress being made on the connection. So if a single byte is read or written, then the timeout (if implemented by jetty) is reset. However, in many instances, the reading/writing is delegated to the JVM, and the semantic is more strictly enforced as the maximum time a single read/write operation can take. Note, that as Jetty supports writes of memory mapped file buffers, then a write may take many 10s of seconds for large content written to a slow device.

Previously, Jetty supported separate idle timeouts and IO operation timeouts, however the expense of changing the value of soTimeout was significant, so these timeouts were merged. With the advent of NIO, it may be possible to again differentiate these values (if there is demand).

Parameters
maxIdleTime:int

The maxIdleTime to set.

setNameback to summary
public void setName(String name)
setPortback to summary
public void setPort(int port)

Implements org.mortbay.jetty.Connector.setPort.

Parameters
port:int

Doc from org.mortbay.jetty.Connector.setPort.

The port fto listen of for connections or 0 if any available port may be used.

setResolveNamesback to summary
public void setResolveNames(boolean resolve)
setReuseAddressback to summary
public void setReuseAddress(boolean reuseAddress)
Parameters
reuseAddress:boolean

True if the the server socket will be opened in SO_REUSEADDR mode.

setServerback to summary
public void setServer(Server server)

Implements org.mortbay.jetty.Connector.setServer.

setSoLingerTimeback to summary
public void setSoLingerTime(int soLingerTime)
Parameters
soLingerTime:int

The soLingerTime to set or -1 to disable.

setStatsOnback to summary
public void setStatsOn(boolean on)

Implements org.mortbay.jetty.Connector.setStatsOn.

setThreadPoolback to summary
public void setThreadPool(ThreadPool pool)
statsResetback to summary
public void statsReset()

Implements org.mortbay.jetty.Connector.statsReset.

Reset statistics.

stopAcceptback to summary
public void stopAccept(int acceptorID) throws Exception
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

org.mortbay.jetty back to summary

private Class AbstractConnector.Acceptor

extends Object
implements Runnable
Class Inheritance
All Implemented Interfaces
java.lang.Runnable

Field Summary

Modifier and TypeField and Description
pack-priv int

Constructor Summary

AccessConstructor and Description
pack-priv
Acceptor(int id)

Method Summary

Modifier and TypeMethod and Description
public void
run()

Implements java.lang.Runnable.run.

Runs this operation.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_acceptorback to summary
pack-priv int _acceptor

Constructor Detail

Acceptorback to summary
pack-priv Acceptor(int id)

Method Detail

runback to summary
public void run()

Implements java.lang.Runnable.run.

Doc from java.lang.Runnable.run.

Runs this operation.