- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for isGroupAddress (1.69 sec)
-
src/test/java/jcifs/netbios/NbtAddressTest.java
assertTrue(nbtAddress.isGroupAddress(mockContext)); verify(mockNameServiceClient).getNbtAllByAddress(any(NetbiosAddress.class)); } @Test void testIsGroupAddress_NoCheckDataCall() throws UnknownHostException { // Test isGroupAddress when checkData is NOT called (hostName is known)
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/NameQueryResponseTest.java
byte[] nodeAddress = addrEntry[0].getAddress(); assertNotNull(nodeAddress, "Node address should not be null"); // Note: Cannot test isGroupAddress() and getNodeType() without CIFSContext in unit test // These methods require network operations and are integration test material } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/jcifs/NetbiosAddress.java
* context to use * @return whether the given address is a group address * * @throws UnknownHostException * if the host cannot be resolved to find out. */ boolean isGroupAddress(CIFSContext tc) throws UnknownHostException; /** * Checks the node type of this address. * * @param tc * context to use * @return {@link jcifs.netbios.NbtAddress#B_NODE},
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtAddress.java
if (!this.isDataFromNodeStatus) { tc.getNameServiceClient().getNbtAllByAddress(this); } } @Override public boolean isGroupAddress(final CIFSContext tc) throws UnknownHostException { checkData(tc); return this.groupName; } @Override public int getNodeType(final CIFSContext tc) throws UnknownHostException {
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/netbios/NbtAddress.java
* * @return true if this is a group address, false otherwise * @throws UnknownHostException if the host cannot be resolved to find out. */ public boolean isGroupAddress() throws UnknownHostException { checkData(); return groupName; } /** * Checks the node type of this address. * @return {@link jcifs.smb1.netbios.NbtAddress#B_NODE},
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.7K bytes - Viewed (0)