- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 19 for TID (0.01 seconds)
-
src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
// Test minimum valid TID smb2Response.setTreeId(0); assertTrue(smb2Response.isValidTid(), "TID 0 should be valid"); // Test maximum valid TID smb2Response.setTreeId(Integer.MAX_VALUE); assertTrue(smb2Response.isValidTid(), "Maximum TID should be valid"); // Test invalid TID smb2Response.setTreeId(-1);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
assertEquals(12345, tid); } @Test @DisplayName("Should validate TID correctly") void testIsValidTid() throws Exception { // Test invalid TID (-1) Method setTreeIdMethod = ServerMessageBlock2.class.getDeclaredMethod("setTreeId", int.class); setTreeIdMethod.setAccessible(true); setTreeIdMethod.invoke(response, -1); assertFalse(response.isValidTid());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbTree.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 8.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/TreeConnectResponse.java
* service type, and DFS information for the connected share. * * @author mbechler */ public interface TreeConnectResponse extends CommonServerMessageBlockResponse { /** * Returns the tree identifier (TID) assigned to this tree connection. * * @return tree id */ int getTid(); /** * Returns the service type of the connected share (e.g., A: for disk, LPT1: for printer, IPC for named pipe).Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
return "command=" + c + ",received=" + received + ",errorCode=" + str + ",flags=0x" + Hexdump.toHexString(flags & 0xFF, 4) + ",flags2=0x" + Hexdump.toHexString(flags2, 4) + ",signSeq=" + signSeq + ",tid=" + tid + ",pid=" + pid + ",uid=" + uid + ",mid=" + mid + ",wordCount=" + wordCount + ",byteCount=" + byteCount; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.7K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
* @return the session this tree is connected in */ public SmbSessionImpl getSession() { return this.session.acquire(); } /** * @return the tid */ public int getTid() { return this.tid; } /** * @return the tree_num (monotonically increasing counter to track reconnects) */ public long getTreeNum() { return this.treeNum;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
} @Test @DisplayName("setTid should set tree ID") void testSetTid() { int tid = 12345; testRequest.setTid(tid); assertEquals(tid, testRequest.getTreeId()); } } @Nested @DisplayName("Async Operation Tests") class AsyncOperationTests { @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
// Verify session.send was called and tid was set verify(session).send(request, response); assertEquals(123, request.tid); } @Test void testSendWithDfs() throws SmbException { SmbTree tree = new SmbTree(session, "testShare", "A:"); tree.connectionState = 2; // Connected state tree.tid = 123; tree.inDfs = true;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.2K bytes - Click Count (0)