Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for SessionServicePacket (0.55 sec)

  1. src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java

            // Test that the constructor correctly initializes the type and length fields.
            SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket();
            assertEquals(SessionServicePacket.SESSION_RETARGET_RESPONSE, packet.type);
            assertEquals(6, packet.length);
        }
    
        @Test
        void writeTrailerWireFormatShouldReturnZero() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/SessionRequestPacket.java

    import jcifs.NetbiosName;
    
    /**
     * NetBIOS session request packet implementation.
     * This packet is used to initiate NetBIOS session connections.
     */
    public class SessionRequestPacket extends SessionServicePacket {
    
        private final Name calledName, callingName;
    
        SessionRequestPacket(final Configuration config) {
            this.calledName = new Name(config);
            this.callingName = new Name(config);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                }
                switch (sbuf[0] & 0xFF) {
                case SessionServicePacket.POSITIVE_SESSION_RESPONSE:
                    if (LogStream.level >= 4) {
                        log.println("session established ok with " + address);
                    }
                    return;
                case SessionServicePacket.NEGATIVE_SESSION_RESPONSE:
                    final int errorCode = in.read() & 0xFF;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            SessionRequestPacket packet = new SessionRequestPacket(mockConfig, mockCalledName, mockCallingName);
    
            assertNotNull(packet);
            assertEquals(SessionServicePacket.SESSION_REQUEST, packet.type);
        }
    
        @Test
        @DisplayName("writeTrailerWireFormat should write both names correctly")
        void testWriteTrailerWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

                }
                switch (this.sbuf[0] & 0xFF) {
                case SessionServicePacket.POSITIVE_SESSION_RESPONSE:
                    if (log.isDebugEnabled()) {
                        log.debug("session established ok with " + this.address);
                    }
                    return;
                case SessionServicePacket.NEGATIVE_SESSION_RESPONSE:
                    final int errorCode = this.in.read() & 0xFF;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top