- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 39 for NbtAddress (0.06 sec)
-
src/main/java/jcifs/netbios/NodeStatusResponse.java
private final NbtAddress queryAddress; private int numberOfNames; private final byte[] macAddress; private byte[] stats; NbtAddress[] addressArray; /* * It is a little awkward but prudent to pass the quering address * so that it may be included in the list of results. IOW we do * not want to create a new NbtAddress object for this particularRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
recordNameField.set(nameQueryResponse, mockRecordName); NbtAddress[] addresses = new NbtAddress[2]; // Create dummy NbtAddress objects for testing toString addresses[0] = new NbtAddress(mockRecordName, 0xC0A80101, false, 0); // 192.168.1.1 addresses[1] = new NbtAddress(mockRecordName, 0x0A000005, true, 1); // 10.0.0.5 addrEntryField.set(nameQueryResponse, addresses);
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/test/java/jcifs/netbios/UniAddressTest.java
// UniAddress only accepts InetAddress, NbtAddress (which implements Address), or Address // Testing with NbtAddress which doesn't return anything from toInetAddress NbtAddress nbtAddress = mock(NbtAddress.class); when(nbtAddress.toInetAddress()).thenReturn(null); UniAddress uniAddress = new UniAddress(nbtAddress); assertNull(uniAddress.toInetAddress()); }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/test/java/jcifs/NetbiosAddressTest.java
NbtAddress.ANY_HOSTS_NAME); assertEquals("\u0001\u0002__MSBROWSE__\u0002", NbtAddress.MASTER_BROWSER_NAME); assertEquals("*SMBSERVER ", NbtAddress.SMBSERVER_NAME); // Test node type constants assertEquals(0, NbtAddress.B_NODE); assertEquals(1, NbtAddress.P_NODE); assertEquals(2, NbtAddress.M_NODE); assertEquals(3, NbtAddress.H_NODE);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java
private final NbtAddress queryAddress; private int numberOfNames; private final byte[] macAddress; private byte[] stats; NbtAddress[] addressArray; /* It is a little awkward but prudent to pass the quering address * so that it may be included in the list of results. IOW we do * not want to create a new NbtAddress object for this particularRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Lmhosts.java
* @return resolved name, null if not found */ public synchronized NbtAddress getByName(final String host, final CIFSContext tc) { return getByName(new Name(tc.getConfig(), host, 0x20, null), tc); } synchronized NbtAddress getByName(final Name name, final CIFSContext tc) { NbtAddress result = null; try { if (tc.getConfig().getLmHostsFileName() != null) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
} throw new UnknownHostException(name.name); } NbtAddress[] getNodeStatus(final NbtAddress addr) throws UnknownHostException { int n, srcHashCode; NodeStatusRequest request; NodeStatusResponse response = new NodeStatusResponse(addr); request = new NodeStatusRequest(new Name(NbtAddress.ANY_HOSTS_NAME, 0x00, null)); request.addr = addr.getInetAddress();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/NetbiosAddress.java
* Checks the node type of this address. * * @param tc * context to use * @return {@link jcifs.netbios.NbtAddress#B_NODE}, * {@link jcifs.netbios.NbtAddress#P_NODE}, {@link jcifs.netbios.NbtAddress#M_NODE}, * {@link jcifs.netbios.NbtAddress#H_NODE} * * @throws UnknownHostException * if the host cannot be resolved to find out. */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/smb1/netbios/SessionRetargetResponsePacket.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServicePacketTest.java
// For testing purposes, we can return a fixed length or mock behavior // Create a dummy Name object for NbtAddress constructor Name dummyName = new Name(config, "DUMMY_NAME", 0, null); addrEntry[addrIndex] = new NbtAddress(dummyName, 0, false, NbtAddress.B_NODE); return 6; // NbtAddress is 6 bytes } } @BeforeEach void setUp() { MockitoAnnotations.openMocks(this);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0)