SmbFileInputStream( SmbFile file, int openFlags ) throws SmbException, MalformedURLException, UnknownHostException { this.file = file; this.openFlags = openFlags & 0xFFFF; this.access = (openFlags >>> 16) & 0xFFFF; if (file.type != SmbFile.TYPE_NAMED_PIPE) { file.open( openFlags, access, SmbFile.ATTR_NORMAL, 0 ); this.openFlags &= ~(SmbFile.O_CREAT | SmbFile.O_TRUNC); } else { file.connect0(); } readSize = Math.min( file.tree.session.transport.rcv_buf_size - 70, file.tree.session.transport.server.maxBufferSize - 70 ); }
SmbFileInputStream( SmbFile file, int openFlags ) throws SmbException, MalformedURLException, UnknownHostException { this.file = file; this.openFlags = openFlags & 0xFFFF; this.access = (openFlags >>> 16) & 0xFFFF; if (file.type != SmbFile.TYPE_NAMED_PIPE) { file.open( openFlags, access, SmbFile.ATTR_NORMAL, 0 ); this.openFlags &= ~(SmbFile.O_CREAT | SmbFile.O_TRUNC); } else { file.connect0(); } readSize = Math.min( file.tree.session.transport.rcv_buf_size - 70, file.tree.session.transport.server.maxBufferSize - 70 ); }
SmbFileInputStream( SmbFile file, int openFlags ) throws SmbException, MalformedURLException, UnknownHostException { this.file = file; this.openFlags = openFlags & 0xFFFF; this.access = (openFlags >>> 16) & 0xFFFF; if (file.type != SmbFile.TYPE_NAMED_PIPE) { file.open( openFlags, access, SmbFile.ATTR_NORMAL, 0 ); this.openFlags &= ~(SmbFile.O_CREAT | SmbFile.O_TRUNC); } else { file.connect0(); } readSize = Math.min( file.tree.session.transport.rcv_buf_size - 70, file.tree.session.transport.server.maxBufferSize - 70 ); }
SmbFileInputStream( SmbFile file, int openFlags ) throws SmbException, MalformedURLException, UnknownHostException { this.file = file; this.openFlags = openFlags & 0xFFFF; this.access = (openFlags >>> 16) & 0xFFFF; if (file.type != SmbFile.TYPE_NAMED_PIPE) { file.open( openFlags, access, SmbFile.ATTR_NORMAL, 0 ); this.openFlags &= ~(SmbFile.O_CREAT | SmbFile.O_TRUNC); } else { file.connect0(); } readSize = Math.min( file.tree.session.transport.rcv_buf_size - 70, file.tree.session.transport.server.maxBufferSize - 70 ); }
} else if( share != null ) { connect0(); if( share.equals( "IPC$" )) { type = TYPE_NAMED_PIPE;
} else if( share != null ) { connect0(); if( share.equals( "IPC$" )) { type = TYPE_NAMED_PIPE;
} else if( share != null ) { connect0(); if( share.equals( "IPC$" )) { type = TYPE_NAMED_PIPE;
} else if( share != null ) { connect0(); if( share.equals( "IPC$" )) { type = TYPE_NAMED_PIPE;
connect0(); // treeConnect is good enough } else { Info info = queryPath( getUncPath0(),
connect0(); // treeConnect is good enough } else { Info info = queryPath( getUncPath0(),
int open0( int flags, int access, int attrs, int options ) throws SmbException { int f; connect0();
Info queryPath( String path, int infoLevel ) throws SmbException { connect0();
int open0( int flags, int access, int attrs, int options ) throws SmbException { int f; connect0();
connect0(); req = new NetServerEnum2(tree.session.transport.server.oemDomainName, NetServerEnum2.SV_TYPE_DOMAIN_ENUM );
connect0(); req = new NetServerEnum2(tree.session.transport.server.oemDomainName, NetServerEnum2.SV_TYPE_DOMAIN_ENUM );
int open0( int flags, int access, int attrs, int options ) throws SmbException { int f; connect0();
int open0( int flags, int access, int attrs, int options ) throws SmbException { int f; connect0();
Info queryPath( String path, int infoLevel ) throws SmbException { connect0();
Info queryPath( String path, int infoLevel ) throws SmbException { connect0();
Info queryPath( String path, int infoLevel ) throws SmbException { connect0();