- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 76 for addresses (0.48 sec)
-
src/main/java/jcifs/Address.java
/** * Interface for both netbios and internet addresses * * @author mbechler * */ public interface Address { /** * * @param type * @return instance for type, null if the type cannot be unwrapped */ <T extends Address> T unwrap ( Class<T> type ); /** * * @return the resolved host name, or the host address if it could not be resolved */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Tue Jul 03 13:22:30 GMT 2018 - 2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
} if( response.received && response.resultCode == 0 ) { /* Before we return, in anticipation of this address being cached we must * augment the addresses name's hashCode to distinguish those resolved by * Lmhosts, WINS, or BCAST. Otherwise a failed query from say WINS would * get pulled out of the cache for a BCAST on the same name. */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 17.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
addresses = new UniAddress[1]; addresses[0] = UniAddress.getByName( server ); return getNextAddress(); } String address = queryLookup(query, "address"); if (address != null && address.length() > 0) { byte[] ip = java.net.InetAddress.getByName(address).getAddress(); addresses = new UniAddress[1];
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 107.9K bytes - Viewed (2) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
initCache(tc); } static final class CacheEntry { Name hostName; NbtAddress address; long expiration; CacheEntry ( Name hostName, NbtAddress address, long expiration ) { this.hostName = hostName; this.address = address; this.expiration = expiration; } } /** * */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Aug 14 14:26:22 GMT 2022 - 38.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/UniAddress.java
return null; } /** * {@inheritDoc} * * @see jcifs.Address#unwrap(java.lang.Class) */ @SuppressWarnings ( "unchecked" ) @Override public <T extends Address> T unwrap ( Class<T> type ) { if ( this.addr instanceof Address ) { return ( (Address) this.addr ).unwrap(type); } else if ( this.getClass().isAssignableFrom(type) ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 8.3K bytes - Viewed (0) -
src/main/java/jcifs/NameServiceClient.java
* Retrieve all addresses of a host by it's address. NetBIOS hosts can * have many names for a given IP address. The name and IP address make * the NetBIOS address. This provides a way to retrieve the other names * for a host with the same IP address. See {@link #getByName} * for a description of <code>type</code> * and <code>scope</code>. * * @param host * hostname to lookup all addresses for
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/UniAddress.java
this.addr = addr; } /** * Return the IP address of this address as a 32 bit integer. */ public int hashCode() { return addr.hashCode(); } /** * Compare two addresses for equality. Two <tt>UniAddress</tt>s are equal * if they are both <tt>UniAddress</tt>' and refer to the same IP address. */ public boolean equals( Object obj ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 16.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
loc.share = this.share; loc.dfsReferral = this.dfsReferral; loc.unc = this.unc; if ( this.addresses != null ) { loc.addresses = new UniAddress[this.addresses.length]; System.arraycopy(this.addresses, 0, loc.addresses, 0, this.addresses.length); } loc.addressIndex = this.addressIndex; loc.type = this.type; return loc; }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sat Jul 20 08:24:53 GMT 2019 - 23.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
} /** * Retrieve all addresses of a host by it's address. NetBIOS hosts can * have many names for a given IP address. The name and IP address make the * NetBIOS address. This provides a way to retrieve the other names for a * host with the same IP address. * * @param addr the address to query * @throws UnknownHostException if address cannot be resolved */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 30.1K bytes - Viewed (0) -
src/main/java/jcifs/Config.java
log.error("Not a number", nfe); } } return def; } /** * Retrieve an <code>InetAddress</code>. If the address is not * an IP address and cannot be resolved <code>null</code> will * be returned. */ public static InetAddress getInetAddress ( Properties props, String key, InetAddress def ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 6.3K bytes - Viewed (0)