Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for unwrap (0.14 sec)

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

                      SmbSessionInternal session = treeHandle.getSession().unwrap(SmbSessionInternal.class) ) {
                    assertNotNull(session);
                    try ( SmbTransportInternal transport = session.getTransport().unwrap(SmbTransportInternal.class) ) {
                        assertNotNull(transport);
                        transport.disconnect(true, true);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/UniAddress.java

        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Address#unwrap(java.lang.Class)
         */
        @SuppressWarnings ( "unchecked" )
        @Override
        public <T extends Address> T unwrap ( Class<T> type ) {
            if ( this.addr instanceof Address ) {
                return ( (Address) this.addr ).unwrap(type);
            }
            else if ( this.getClass().isAssignableFrom(type) ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcSecurityProvider.java

    public interface DcerpcSecurityProvider {
    
        /**
         * 
         * @param outgoing
         * @throws DcerpcException
         */
        void wrap ( NdrBuffer outgoing ) throws DcerpcException;
    
    
        /**
         * 
         * @param incoming
         * @throws DcerpcException
         */
        void unwrap ( NdrBuffer incoming ) throws DcerpcException;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbSession.java

         */
        Configuration getConfig ();
    
    
        /**
         * 
         * @param type
         * @return session instance with the given type
         */
        <T extends SmbSession> T unwrap ( Class<T> type );
    
    
        /**
         * 
         * @return the context this session is attached to
         */
        CIFSContext getContext ();
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbTransport.java

         */
        CIFSContext getContext ();
    
    
        /**
         * 
         * @param type
         * @return transport instance with the given type
         */
        <T extends SmbTransport> T unwrap ( Class<T> type );
    
    
        /**
         * 
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        public void close ();
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Address.java

     * 
     * @author mbechler
     *
     */
    public interface Address {
    
        /**
         * 
         * @param type
         * @return instance for type, null if the type cannot be unwrapped
         */
        <T extends Address> T unwrap ( Class<T> type );
    
    
        /**
         * 
         * @return the resolved host name, or the host address if it could not be resolved
         */
        String getHostName ();
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 03 13:22:30 GMT 2018
    - 2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcSecurityProvider.java

     */
    
    package jcifs.smb1.dcerpc;
    
    import jcifs.smb1.dcerpc.ndr.NdrBuffer;
    
    public interface DcerpcSecurityProvider
    {
        void wrap(NdrBuffer outgoing) throws DcerpcException;
        void unwrap(NdrBuffer incoming) throws DcerpcException;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/OplockTests.java

                    .unwrap(SmbTransportInternal.class);
                  SmbSession sess = trans.unwrap(SmbTransportInternal.class).getSmbSession(c, getTestServer(), null);
                  SmbTreeInternal tree = sess.unwrap(SmbSessionInternal.class).getSmbTree(getTestShare(), null).unwrap(SmbTreeInternal.class) ) {
    
                if ( trans.isSMB2() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbPipeHandle.java

         * @return whether the FD was previously open but became invalid
         */
        boolean isStale ();
    
    
        /**
         * @param type
         * @return unwrapped instance
         */
        <T extends SmbPipeHandle> T unwrap ( Class<T> type );
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmHttpFilter.java

            try ( SmbTransportInternal trans = tf.getTransportPool()
                    .getSmbTransport(tf, dc, 0, false, tf.hasDefaultCredentials() && tf.getConfig().isIpcSigningEnforced())
                    .unwrap(SmbTransportInternal.class) ) {
                if ( !tf.hasDefaultCredentials() ) {
                    trans.ensureConnected();
                    log.warn(
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.8K bytes
    - Viewed (0)
Back to top