Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for NdrException (0.12 sec)

  1. src/main/java/jcifs/dcerpc/ndr/NdrException.java

    
    @SuppressWarnings ( "javadoc" )
    public class NdrException extends CIFSException {
    
        /**
         * 
         */
        private static final long serialVersionUID = 7621650016319792189L;
        public static final String NO_NULL_REF = "ref pointer cannot be null";
        public static final String INVALID_CONFORMANCE = "invalid array conformance";
    
    
        public NdrException ( String msg ) {
            super(msg);
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/ndr/NdrException.java

     */
    
    package jcifs.smb1.dcerpc.ndr;
    
    import java.io.IOException;
    
    public class NdrException extends IOException {
    
        public static final String NO_NULL_REF = "ref pointer cannot be null";
        public static final String INVALID_CONFORMANCE = "invalid array conformance";
    
        public NdrException( String msg ) {
            super( msg );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_referent(entry_path, 1);
    
                if (entry_path != null) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(entry_path);
    
                }
            }
            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 15K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(length);
                _dst.enc_ndr_short(impersonation_level);
                _dst.enc_ndr_small(context_mode);
                _dst.enc_ndr_small(effective_only);
    
            }
            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 33K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/rpc.java

                int _nodes = 6;
                int _nodei = _src.index;
                _src.advance(1 * _nodes);
    
                if (node == null) {
                    if (_nodes < 0 || _nodes > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
                    node = new byte[_nodes];
                }
                _src = _src.derive(_nodei);
                for (int _i = 0; _i < _nodes; _i++) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

            public void encode ( NdrBuffer _dst ) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_referent(this.netname, 1);
    
                if ( this.netname != null ) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(this.netname);
    
                }
            }
    
    
            @Override
            public void decode ( NdrBuffer _src ) throws NdrException {
                _src.align(4);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 19.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/rpc.java

            public int type;
            public uuid_t uuid;
    
    
            @Override
            public void encode ( NdrBuffer _dst ) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(this.type);
                if ( this.uuid == null )
                    throw new NdrException(NdrException.NO_NULL_REF);
                _dst.enc_ndr_long(this.uuid.time_low);
                _dst.enc_ndr_short(this.uuid.time_mid);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

            public SamrCloseHandle(rpc.policy_handle handle) {
                this.handle = handle;
            }
    
            public void encode_in(NdrBuffer _dst) throws NdrException {
                handle.encode(_dst);
            }
            public void decode_out(NdrBuffer _src) throws NdrException {
                retval = (int)_src.dec_ndr_long();
            }
        }
        public static class SamrConnect2 extends DcerpcMessage {
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 14K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/samr.java

                this.handle = handle;
            }
    
    
            @Override
            public void encode_in ( NdrBuffer _dst ) throws NdrException {
                this.handle.encode(_dst);
            }
    
    
            @Override
            public void decode_out ( NdrBuffer _src ) throws NdrException {
                this.retval = _src.dec_ndr_long();
            }
        }
    
        public static class SamrConnect2 extends DcerpcMessage {
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 15.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

            public void encode ( NdrBuffer _dst ) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(this.length);
                _dst.enc_ndr_short(this.impersonation_level);
                _dst.enc_ndr_small(this.context_mode);
                _dst.enc_ndr_small(this.effective_only);
    
            }
    
    
            @Override
            public void decode ( NdrBuffer _src ) throws NdrException {
                _src.align(4);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 35.6K bytes
    - Viewed (0)
Back to top