Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for getLocalHost (0.09 sec)

  1. src/main/java/jcifs/ntlmssp/Type1Message.java

         *
         * @param tc
         *            context to use
         */
        public Type1Message(final CIFSContext tc) {
            this(tc, getDefaultFlags(tc), tc.getConfig().getDefaultDomain(), tc.getNameServiceClient().getLocalHost().getHostName());
        }
    
        /**
         * Creates a Type-1 message with the specified parameters.
         *
         * @param tc
         *            context to use
         * @param flags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            lenient().when(mockCtx.getConfig()).thenReturn(mockConfig);
            lenient().when(mockCtx.getNameServiceClient()).thenReturn(mockNameServiceClient);
            lenient().when(mockNameServiceClient.getLocalHost()).thenReturn(mockHost);
            lenient().when(mockHost.getHostName()).thenReturn("TEST_HOSTNAME");
    
            return mockCtx;
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/NameServiceClient.java

     *
     * @author mbechler
     */
    public interface NameServiceClient {
    
        /**
         * Gets the local host NetBIOS address.
         *
         * @return local host address
         */
        NetbiosAddress getLocalHost();
    
        /**
         * Gets the local host NetBIOS name.
         *
         * @return the local host name
         */
        NetbiosName getLocalName();
    
        /**
         * Gets the unknown NetBIOS name instance.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int DEFAULT_SSN_LIMIT = 250;
        /** Default connection timeout in milliseconds */
        int DEFAULT_CONN_TIMEOUT = 35000;
    
        /** Local address to bind to */
        InetAddress LADDR = Config.getLocalHost();
        /** Local port to bind to */
        int LPORT = Config.getInt("jcifs.smb1.smb.client.lport", 0);
        /** Maximum multiplex count */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

            lenient().when(mockContext.getConfig()).thenReturn(mockConfig);
            lenient().when(mockContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
            lenient().when(mockNameServiceClient.getLocalHost()).thenReturn(mockLocalHost);
            lenient().when(mockLocalHost.getHostName()).thenReturn("localhost");
            lenient().when(mockConfig.getDefaultDomain()).thenReturn("WORKGROUP");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/NetbiosAddress.java

     * conditions, users of jCIFS need not be concerned with this class as
     * name resolution and session services are handled internally by the smb package.
     *
     *
     *  * Applications can use the methods <code>getLocalHost</code>,
     * <code>getByName</code>, and
     * <code>getAllByAddress</code> to create a new NbtAddress instance. This
     * class is symmetric with {@link java.net.InetAddress}.
     *
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                } catch (final IOException ex) {}
            }
            final int domainLength = domain.length;
            byte[] server = {};
            try {
                final String host = NbtAddress.getLocalHost().getHostName();
                if (host != null) {
                    try {
                        server = host.getBytes(UNI_ENCODING);
                    } catch (final IOException ex) {}
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NbtAddress.java

     * conditions, users of jCIFS need not be concerned with this class as
     * name resolution and session services are handled internally by the smb package.
     *
     *
     *  * Applications can use the methods <code>getLocalHost</code>,
     * <code>getByName</code>, and
     * <code>getAllByAddress</code> to create a new NbtAddress instance. This
     * class is symmetric with {@link java.net.InetAddress}.
     *
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type2Message.java

                    log.debug("Failed to get domain bytes", ex);
                }
            }
            final int domainLength = domain.length;
            byte[] server = {};
            final String host = tc.getNameServiceClient().getLocalHost().getHostName();
            if (host != null) {
                try {
                    server = host.getBytes(UNI_ENCODING);
                } catch (final IOException ex) {
                    log.debug("Failed to get host bytes", ex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/Config.java

         * Get the local host address based on the provided properties.
         *
         * @param props the properties to use for configuration
         * @return the local host InetAddress
         */
        public static InetAddress getLocalHost(final Properties props) {
            final String addr = props.getProperty("jcifs.smb.client.laddr");
    
            if (addr != null) {
                try {
                    return InetAddress.getByName(addr);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top