- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 44 for timeout (0.18 sec)
-
src/main/java/jcifs/util/transport/Transport.java
throw new TransportException("Transport is disconnected " + this.name); } try { long timeout = !params.contains(RequestParam.NO_TIMEOUT) ? getResponseTimeout(request) : 0; long firstKey = doSend(request, response, params, timeout); if ( Thread.currentThread() == this.thread ) { // we are in the transport thread, ie. on idle disconnecting
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Nov 01 18:12:21 GMT 2020 - 24.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
} catch( Exception ex ) { String msg = ex.getMessage(); boolean timeout = msg != null && msg.equals( "Read timed out" ); /* If just a timeout, try to disconnect gracefully */ boolean hard = timeout == false; if (!timeout && log.level >= 3) ex.printStackTrace( log ); try {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
long timeout = RESPONSE_TIMEOUT; resp.expiration = System.currentTimeMillis() + timeout; while( resp.hasMoreElements() ) { wait( timeout ); timeout = resp.expiration - System.currentTimeMillis(); if (timeout <= 0) {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 31.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
private static final int SO_TIMEOUT = Config.getInt( "jcifs.smb1.netbios.soTimeout", DEFAULT_SO_TIMEOUT ); private static final int RETRY_COUNT = Config.getInt( "jcifs.smb1.netbios.retryCount", DEFAULT_RETRY_COUNT ); private static final int RETRY_TIMEOUT = Config.getInt( "jcifs.smb1.netbios.retryTimeout", DEFAULT_RETRY_TIMEOUT); private static final int LPORT = Config.getInt( "jcifs.smb1.netbios.lport", 0 );
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 17.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java
* */ public FsctlPipeWaitRequest ( String name, long timeout ) { this.nameBytes = name.getBytes(StandardCharsets.UTF_16LE); this.timeoutSpecified = true; this.timeout = timeout; } /** * {@inheritDoc} * * @see jcifs.Encodable#encode(byte[], int) */ @Override public int encode ( byte[] dst, int dstIndex ) { int start = dstIndex;
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
/** * * Property <tt>jcifs.smb.client.soTimeout</tt> (int, default 35000) * * @return socket timeout, in milliseconds */ int getSoTimeout (); /** * * Property <tt>jcifs.smb.client.connTimeout</tt> (int, default 35000) * * @return timeout for establishing a socket connection, in milliseconds */
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Thu Jan 05 13:06:39 GMT 2023 - 18K bytes - Viewed (0) -
src/main/java/jcifs/config/PropertyConfiguration.java
this.smbSocketTimeout = Config.getInt(p, "jcifs.smb.client.soTimeout", SmbConstants.DEFAULT_SO_TIMEOUT); this.smbConnectionTimeout = Config.getInt(p, "jcifs.smb.client.connTimeout", SmbConstants.DEFAULT_CONN_TIMEOUT); this.smbSessionTimeout = Config.getInt(p, "jcifs.smb.client.sessionTimeout", SmbConstants.DEFAULT_CONN_TIMEOUT);
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Thu Jan 05 13:06:39 GMT 2023 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
} return this.nextNameTrnId; } void ensureOpen ( int timeout ) throws IOException { this.closeTimeout = 0; if ( this.transportContext.getConfig().getNetbiosSoTimeout() != 0 ) { this.closeTimeout = Math.max(this.transportContext.getConfig().getNetbiosSoTimeout(), timeout); } // If socket is still good, the new closeTimeout will
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Aug 14 14:26:22 GMT 2022 - 38.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
if ( !params.contains(RequestParam.NO_TIMEOUT) ) { resp.wait(timeout); timeout = resp.getExpiration() - System.currentTimeMillis(); if ( timeout <= 0 ) { throw new TransportException(this + " timedout waiting for response to " + req); }
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Wed Jan 18 23:47:00 GMT 2023 - 67K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
static final int DEFAULT_RESPONSE_TIMEOUT = 30000; static final int DEFAULT_SO_TIMEOUT = 35000; static final int DEFAULT_RCV_BUF_SIZE = 0xFFFF; static final int DEFAULT_SND_BUF_SIZE = 0xFFFF; static final int DEFAULT_NOTIFY_BUF_SIZE = 1024; static final int DEFAULT_SSN_LIMIT = 250; static final int DEFAULT_CONN_TIMEOUT = 35000; static final int FLAGS_NONE = 0x00;
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 8.9K bytes - Viewed (0)