Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 62 for CommonServerMessageBlock (0.28 seconds)

  1. src/test/java/jcifs/internal/SMBSigningDigestTest.java

     */
    class SMBSigningDigestTest {
    
        @Mock
        private SMBSigningDigest signingDigest;
    
        @Mock
        private CommonServerMessageBlock request;
    
        @Mock
        private CommonServerMessageBlock response;
    
        @Mock
        private CommonServerMessageBlock message;
    
        private byte[] testData;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

         *
         * @return list of pending operations
         */
        public List<CommonServerMessageBlock> getPendingOperations() {
            return pendingOperations;
        }
    
        /**
         * Add a pending operation
         *
         * @param operation operation to add
         */
        public void addPendingOperation(CommonServerMessageBlock operation) {
            pendingOperations.add(operation);
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/SMBSigningDigest.java

         * @param request
         *            request message
         * @param response
         *            response message
         */
        void sign(byte[] data, int offset, int length, CommonServerMessageBlock request, CommonServerMessageBlock response);
    
        /**
         * Performs MAC signature verification. This calculates the signature
         * of the SMB and compares it to the signature field on the SMB itself.
         *
         * @param data
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

            // Create a defensive copy to avoid ConcurrentModificationException
            List<CommonServerMessageBlock> operationsCopy = List.copyOf(pendingOps);
    
            // Clear the failed channel's pending operations first
            failedChannel.clearPendingOperations();
    
            // Redistribute to healthy channels
            for (CommonServerMessageBlock op : operationsCopy) {
                try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

             */
    
            return (long) Encdec.dec_uint16le(this.sbuf, 34) & 0xFFFF;
        }
    
        @Override
        protected void doSend(final Request request) throws IOException {
    
            CommonServerMessageBlock smb = (CommonServerMessageBlock) request;
            final byte[] buffer = this.getContext().getBufferCache().getBuffer();
            try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

         *
         * @see jcifs.internal.SMBSigningDigest#sign(byte[], int, int, jcifs.internal.CommonServerMessageBlock,
         *      jcifs.internal.CommonServerMessageBlock)
         */
        @Override
        public void sign(final byte[] data, final int offset, final int length, final CommonServerMessageBlock request,
                final CommonServerMessageBlock response) {
            // Validate input parameters
            if (data == null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

         *
         * @see jcifs.internal.SMBSigningDigest#sign(byte[], int, int, jcifs.internal.CommonServerMessageBlock,
         *      jcifs.internal.CommonServerMessageBlock)
         */
        @Override
        public void sign(final byte[] data, final int offset, final int length, final CommonServerMessageBlock request,
                final CommonServerMessageBlock response) {
            if (log.isTraceEnabled()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/SmbNegotiationResponse.java

     * dialect version, security settings, capabilities, and buffer sizes for the SMB connection.
     *
     * @author mbechler
     */
    public interface SmbNegotiationResponse extends CommonServerMessageBlock, Response {
    
        /**
         * Check if the negotiation response is valid
         *
         * @param cifsContext the CIFS context
         * @param request the negotiation request
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/RequestWithPath.java

     * for SMB operations that target specific files or directories on remote shares.
     *
     * @author mbechler
     */
    public interface RequestWithPath extends CommonServerMessageBlock {
    
        /**
         * Gets the path to the resource.
         *
         * @return the path to the resource (below share)
         */
        String getPath();
    
        /**
         * Gets the server name.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/NotifyResponseTest.java

            @Override
            public void reset() {
                // Mock implementation - reset state
                this.async = false;
                this.nextResponse = null;
            }
    
            // CommonServerMessageBlock interface methods
            @Override
            public int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
                // Mock implementation
                return 0;
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
Back to Top