- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for nextCalledName (0.79 sec)
-
src/test/java/jcifs/netbios/NbtAddressTest.java
// Test nextCalledName when calledName is hostName.name initially mockName = new Name(mockConfig, "MYSERVER", 0x20, null); NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE); nbtAddress.firstCalledName(); // Initialize calledName assertEquals(NbtAddress.SMBSERVER_NAME, nbtAddress.nextCalledName(mockContext)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/UniAddressTest.java
UniAddress uniAddress = new UniAddress(mockNbtAddress); when(mockNbtAddress.nextCalledName(mockCIFSContext)).thenReturn("NEXT_NBT_NAME"); assertEquals("NEXT_NBT_NAME", uniAddress.nextCalledName(mockCIFSContext)); verify(mockNbtAddress, times(1)).nextCalledName(mockCIFSContext); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/UniAddress.java
* method is used exclusively by the <code>jcifs.smb1.smb1</code> package. * * @return the next called name to try */ public String nextCalledName() { if (addr instanceof NbtAddress) { return ((NbtAddress) addr).nextCalledName(); } if (calledName != NbtAddress.SMBSERVER_NAME) { calledName = NbtAddress.SMBSERVER_NAME; return calledName; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtAddress.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
default: disconnect(true); throw new NbtException(NbtException.ERR_SSN_SRVC, 0); } } while ((calledName.name = address.nextCalledName()) != null); throw new IOException("Failed to establish session with " + address); } private void negotiate(int port, final ServerMessageBlock resp) throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
} /** * Gets the next called name for session establishment. * * @return the next called name to try, or null if no more names available */ public String nextCalledName() { if (calledName == hostName.name) { calledName = SMBSERVER_NAME; } else if (calledName == SMBSERVER_NAME) { NbtAddress[] addrs; try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.7K bytes - Viewed (0)