- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for NbtAddress (0.03 sec)
-
src/main/java/jcifs/netbios/UniAddress.java
if (this.addr instanceof NbtAddress) { return ((NbtAddress) this.addr).nextCalledName(tc); } if (this.calledName != NbtAddress.SMBSERVER_NAME) { this.calledName = NbtAddress.SMBSERVER_NAME; return this.calledName; } return null; } /** * Return the underlying <code>NbtAddress</code> or {@code InetAddress}. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/Lmhosts.java
* * @param host the hostname to resolve * @return the resolved NbtAddress or null if not found */ public synchronized static NbtAddress getByName(final String host) { return getByName(new Name(host, 0x20, null)); } synchronized static NbtAddress getByName(final Name name) { NbtAddress result = null; try { if (FILENAME != null) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
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/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/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/smb1/UniAddressTest.java
// Arrange NbtAddress nbtMock = mock(NbtAddress.class); when(nbtMock.nextCalledName()).thenReturn("NEXT"); UniAddress ua = new UniAddress(nbtMock); // Act String next = ua.nextCalledName(); // Assert assertEquals("NEXT", next, "nextCalledName should delegate to NbtAddress when called"); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
private static final int BUFFER_SIZE = 512; private static final int DEFAULT_SO_TIMEOUT = 5000; private static LogStream log = LogStream.getInstance(); private NbtAddress address; private Name calledName; private int soTimeout; /** * Constructs an unconnected NbtSocket. */ public NbtSocket() { } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0)