Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for NameQueryResponse (0.24 sec)

  1. src/main/java/jcifs/smb1/netbios/NameQueryResponse.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.netbios;
    
    class NameQueryResponse extends NameServicePacket {
    
        NameQueryResponse() {
            recordName = new Name();
        }
    
        @Override
        int writeBodyWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NameQueryResponse.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.netbios;
    
    import java.util.Arrays;
    
    import jcifs.Configuration;
    
    class NameQueryResponse extends NameServicePacket {
    
        NameQueryResponse(final Configuration config) {
            super(config);
            this.recordName = new Name(config);
        }
    
        @Override
        int writeBodyWireFormat(final byte[] dst, final int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NameQueryResponseTest.java

        private Configuration mockConfig;
    
        private NameQueryResponse nameQueryResponse;
    
        @BeforeEach
        void setUp() {
            // Mock the OEM encoding configuration with lenient stubbing
            // since not all tests need this stub
            lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
    
            // Initialize NameQueryResponse before each test
            nameQueryResponse = new NameQueryResponse(mockConfig);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

        NbtAddress[] getAllByName(final Name name, final InetAddress addr) throws UnknownHostException {
            int n;
            final NameQueryRequest request = new NameQueryRequest(name);
            final NameQueryResponse response = new NameQueryResponse();
    
            request.addr = addr != null ? addr : NbtAddress.getWINSAddress();
            request.isBroadcast = request.addr == null;
    
            if (request.isBroadcast) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            int n;
            final Configuration config = this.transportContext.getConfig();
            final NameQueryRequest request = new NameQueryRequest(config, name);
            final NameQueryResponse response = new NameQueryResponse(config);
    
            request.addr = addr != null ? addr : getWINSAddress();
            request.isBroadcast = request.addr == null || isBroadcastAddress(request.addr);
    
            if (request.isBroadcast) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
Back to top