public boolean equals(Object obj) { if (obj instanceof SmbTree) { SmbTree tree = (SmbTree)obj; return matches(tree.share, tree.service); } return false; } void send( ServerMessageBlock request,
public boolean equals(Object obj) { if (obj instanceof SmbTree) { SmbTree tree = (SmbTree)obj; return matches(tree.share, tree.service); } return false; } void send( ServerMessageBlock request,
public boolean equals(Object obj) { if (obj instanceof SmbTree) { SmbTree tree = (SmbTree)obj; return matches(tree.share, tree.service); } return false; } void send( ServerMessageBlock request,
public boolean equals(Object obj) { if (obj instanceof SmbTree) { SmbTree tree = (SmbTree)obj; return matches(tree.share, tree.service); } return false; } void send( ServerMessageBlock request,
synchronized SmbTree getSmbTree( String share, String service ) { SmbTree t; if( share == null ) { share = "IPC$"; } for( Enumeration e = trees.elements(); e.hasMoreElements(); ) { t = (SmbTree)e.nextElement(); if( t.matches( share, service )) { return t; } } t = new SmbTree( this, share, service ); trees.addElement( t ); return t; } // >>SmbAuthenticator
synchronized SmbTree getSmbTree( String share, String service ) { SmbTree t; if( share == null ) { share = "IPC$"; } for( Enumeration e = trees.elements(); e.hasMoreElements(); ) { t = (SmbTree)e.nextElement(); if( t.matches( share, service )) { return t; } } t = new SmbTree( this, share, service ); trees.addElement( t ); return t; } boolean matches( NtlmPasswordAuthentication auth ) {
synchronized SmbTree getSmbTree( String share, String service ) { SmbTree t; if( share == null ) { share = "IPC$"; } for( Enumeration e = trees.elements(); e.hasMoreElements(); ) { t = (SmbTree)e.nextElement(); if( t.matches( share, service )) { return t; } } t = new SmbTree( this, share, service ); trees.addElement( t ); return t; } boolean matches( NtlmPasswordAuthentication auth ) {
synchronized SmbTree getSmbTree( String share, String service ) { SmbTree t; if( share == null ) { share = "IPC$"; } for( Enumeration e = trees.elements(); e.hasMoreElements(); ) { t = (SmbTree)e.nextElement(); if( t.matches( share, service )) { return t; } } t = new SmbTree( this, share, service ); trees.addElement( t ); return t; } boolean matches( NtlmPasswordAuthentication auth ) {