On 4/27/06, Samuel Doyle <[EMAIL PROTECTED]> wrote: > > Alright I assume this is how you do it. Can someone > confirm? > > IoConnector connector = new SocketConnector() > BaseIoConnectorConfig connectorConfig = new > SocketConnectorConfig(); > > connectorConfig.setConnectTimeout( connectTimeOut ); > connector.connect( host, sessionHandler, > connectorConfig );
BaseIoConnectorConfig is an internal support class. Please don't use it. IoConnectorConfig connectorConfig = new SocketConnectorConfig(); will suffice. Otherwise, if you want to just override the default configuration for the connector you created: connector,getDefaultConfig().setConnectTimeout( connectTimeout ); HTH, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP key fingerprints: * E167 E6AF E73A CBCE EE41 4A29 544D DE48 FE95 4E7E * B693 628E 6047 4F8F CFA4 455E 1C62 A7DC 0255 ECA6
