port = ss.getLocalPort();
}
Thread connect_thread =
new AEThread("AEProxy:connect.loop")
{
public void
runSupport()
{
selectLoop( connect_selector );
}
};
connect_thread.setDaemon( true );
connect_thread.start();
Thread read_thread =
new AEThread("AEProxy:read.loop")
{
public void
runSupport()
{
selectLoop( read_selector );
}
};
read_thread.setDaemon( true );
read_thread.start();
Thread write_thread =
new AEThread("AEProxy:write.loop")
{
public void
runSupport()
{
selectLoop( write_selector );
}
};
write_thread.setDaemon( true );
write_thread.start();
Thread accept_thread =
new AEThread("AEProxy:accept.loop")
{
public void
runSupport()
{
acceptLoop( ssc );
}
};
accept_thread.setDaemon( true );
accept_thread.start();
if (Logger.isEnabled())
Logger.log(new LogEvent(LOGID, "AEProxy: listener established on port "
+ port));