Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getLocalName (0.37 sec)

  1. src/test/java/jcifs/tests/DelegatingNameServiceClient.java

            return this.nscl.getNbtAllByAddress(addr);
        }
    
    
        @Override
        public NetbiosName getLocalName () {
            return this.nscl.getLocalName();
        }
    
    
        @Override
        public NetbiosAddress getLocalHost () {
            return this.nscl.getLocalHost();
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NameServiceClientImpl.java

        public NbtAddress getLocalHost () {
            return this.localhostAddress;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.NameServiceClient#getLocalName()
         */
        @Override
        public Name getLocalName () {
            if ( this.localhostAddress != null ) {
                return this.localhostAddress.hostName;
            }
            return null;
        }
    
    
        /**
    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)
  3. src/main/java/jcifs/NameServiceClient.java

    public interface NameServiceClient {
    
        /**
         * @return local host address
         */
        NetbiosAddress getLocalHost ();
    
    
        /**
         * @return the local host name
         */
        NetbiosName getLocalName ();
    
    
        /**
         * @return the unknown name
         */
        NetbiosName getUnknownName ();
    
    
        /**
         * Retrieve all addresses of a host by it's address. NetBIOS hosts can
    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)
  4. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     *                    by <code>InetAddress</code> should be available
     */ 
    
        public static NbtAddress getLocalHost() throws UnknownHostException {
            return localhost;
        }
        public static Name getLocalName() {
            return localhost.hostName;
        }
    
    /** 
     * Determines the address of a host given it's host name. The name can be a NetBIOS name like
    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)
  5. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                out = socket.getOutputStream();
                in = socket.getInputStream();
    
                SessionServicePacket ssp = new SessionRequestPacket( calledName,
                        NbtAddress.getLocalName() );
                out.write( sbuf, 0, ssp.writeWireFormat( sbuf, 0 ));
                if (readn( in, sbuf, 0, 4 ) < 4) {
                    try {
                        socket.close();
                    } catch(IOException ioe) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

                this.out = this.socket.getOutputStream();
                this.in = this.socket.getInputStream();
    
                SessionServicePacket ssp = new SessionRequestPacket(tc.getConfig(), calledName, tc.getNameServiceClient().getLocalName());
                this.out.write(this.sbuf, 0, ssp.writeWireFormat(this.sbuf, 0));
                if ( readn(this.in, this.sbuf, 0, 4) < 4 ) {
                    try {
                        this.socket.close();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
Back to top