- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for connect (0.96 sec)
-
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
super(connection.getURL()); this.connection = connection; requestProperties = new HashMap(); } public void connect() throws IOException { if (connected) return; connection.connect(); connected = true; } private void handshake() throws IOException { if (handshakeComplete) return; doHandshake(); handshakeComplete = true;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 20.4K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
* Build a connection. Only one thread will ever call this method at * any one time. If this method throws an exception or the connect timeout * expires an encapsulating TransportException will be thrown from connect * and the transport will be in error. */ protected abstract void doConnect () throws Exception; /* * Tear down a connection. If the hard parameter is true, the diconnection
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Nov 01 18:12:21 GMT 2020 - 24.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
/* Some pipes may require that the hostname in the tree connect * be the netbios name. So if we have the netbios server name * from the NTLMSSP type 2 message, and the share is IPC$, we * assert that the tree connect path uses the netbios hostname. */ tcax.path = "\\\\" + netbiosName + "\\IPC$";
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsImpl.java
synchronized ( trans ) { try { // ensure connected trans.ensureConnected(); refServerName = trans.getRemoteHostName(); } catch ( IOException e ) { log.warn("Failed to connect to domain controller", e); }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:07:29 GMT 2023 - 29.1K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
this.setInstanceFollowRedirects(this.connection.getInstanceFollowRedirects()); } @Override public void connect () throws IOException { if ( this.connected ) return; this.connection.connect(); this.connected = true; } private void handshake () { if ( this.handshakeComplete ) return; try {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 25.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
} } } } public void connect() throws SmbException { try { super.connect( RESPONSE_TIMEOUT ); } catch( TransportException te ) { throw new SmbException( "Failed to connect: " + address, te ); } } protected void doConnect() throws IOException { /* * Negotiate Protocol Request / Response
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 31.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
} /** * * @return the server connected to */ public abstract String getServer (); /** * @return the server resolved by DFS */ public abstract String getServerWithDfs (); /** * @return the transport context used */ public abstract CIFSContext getTransportContext (); /**
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jun 30 10:11:57 GMT 2019 - 12.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
return null; } // failure to connect throw new SmbException("Tree disconnected while waiting for connection"); } else if ( before == 2 ) { // concurrently connected return null; } if ( log.isDebugEnabled() ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:06:39 GMT 2023 - 29.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileLocationTest.java
try ( SmbFile f = new SmbFile("smb://[::1]/", getContext()) ) { f.list(); } catch (final SmbException e) { if (!"Failed to connect: /0:0:0:0:0:0:0:1".equals(e.getMessage())) { throw e; } } } private static class TestDfsReferral implements DfsReferralData { private String server;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Wed Jan 08 13:16:07 GMT 2020 - 23K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
case SMB2_SESSION_SETUP: c = "SMB2_SESSION_SETUP"; break; case SMB2_LOGOFF: c = "SMB2_LOGOFF"; break; case SMB2_TREE_CONNECT: c = "SMB2_TREE_CONNECT"; break; case SMB2_TREE_DISCONNECT: c = "SMB2_TREE_DISCONNECT"; break; case SMB2_CREATE: c = "SMB2_CREATE";
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Sep 30 10:47:31 GMT 2018 - 19.9K bytes - Viewed (0)