- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for getTransport (0.09 sec)
- 
				
				src/main/java/jcifs/smb/SmbTreeHandleImpl.javareturn transport.getNegotiateResponse().getSendBufferSize(); } } @Override public int getReceiveBufferSize() throws SmbException { try (SmbSessionImpl session = this.treeConnection.getSession(); SmbTransportImpl transport = session.getTransport()) { Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/smb/SmbSessionInternalTest.java} // Happy path: transport is returned and verified @Test @DisplayName("getTransport returns mocked transport") void getTransport_happy() { when(session.getTransport()).thenReturn(transport); assertSame(transport, session.getTransport()); verify(session).getTransport(); } // Happy path: connect to logon share completes without exception @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/smb/SmbTreeConnection.javatry (SmbSessionImpl session = getSession()) { if (session == null) { return; } try (SmbTransportImpl transport = session.getTransport()) { synchronized (transport) { final SmbTreeImpl t = getTreeInternal(); if (t != null) { try { Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (1)
- 
				
				src/main/java/jcifs/smb/MultiChannelManager.javaif (channelGroup != null) { for (ChannelInfo channel : channelGroup.getChannels()) { try { if (channel.getTransport() != null) { channel.getTransport().disconnect(true); } } catch (Exception e) { log.warn("Error closing channel {}: {}", channel.getChannelId(), e.getMessage()); Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 20.5K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/smb/SmbTreeImpl.javaif (this.connectionState.get() == 2) { // we are connected, so we know return isDfs(); } try (SmbTransportImpl transport = this.session.getTransport()) { return transport.getNegotiateResponse().isDFSSupported(); } } /** * @return the session this tree is connected in */ public SmbSessionImpl getSession() { Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/smb/SmbSessionImplTest.javaverify(enc, times(1)).decryptMessage(eq(new byte[] { 5 })); } @Test @DisplayName("getTransport returns acquired transport instance") void testGetTransportAcquire() { SmbSessionImpl session = newSession(); clearInvocations(transport); SmbTransportImpl t = session.getTransport(); assertSame(transport, t); verify(transport, times(1)).acquire(); } @Test Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0)
- 
				
				docs/smb3-features/03-multi-channel-design.mdrequest.setFlags(SMB2_SESSION_FLAG_BINDING); request.setSecurityBuffer(bindingHash); Smb2SessionSetupResponse response = (Smb2SessionSetupResponse) channel.getTransport().send(request); if (!response.isSuccess()) { throw new IOException("Channel binding failed: " + response.getStatus()); } } Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.javaRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 11.6K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.javareturn channels.values().stream().filter(c -> c.getTransport() == transport).findFirst().orElse(null); } /** * Remove a channel * * @param channel channel to remove */ public void removeChannel(ChannelInfo channel) { channels.remove(channel.getChannelId()); try { if (channel.getTransport() != null) { channel.getTransport().close(); Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 20K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/smb/SmbSessionInternal.java*/ byte[] getSessionKey() throws CIFSException; /** * Returns the SMB transport associated with this session. * * @return the transport for this session */ SmbTransport getTransport(); /** * Connect to the logon share * * @throws SmbException if the connection fails */ void treeConnectLogon() throws SmbException; /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0)