@Override public String getServerWithDfs () { return this.pipe.getLocator().getServerWithDfs(); }
@Override public String getServerWithDfs () { return this.pipe.getLocator().getServerWithDfs(); }
@Override public String getServer () { return this.pipe.getLocator().getServer(); }
@Override public String getServer () { return this.pipe.getLocator().getServer(); }
/** * Open the Named Pipe resource specified by the url * parameter. The pipeType parameter should be at least one of * the <code>PIPE_TYPE</code> flags combined with the bitwise OR * operator <code>|</code>. See the examples listed above. * * @param url * @param pipeType * @param unshared * whether to use an exclusive connection for this pipe * @param tc * @throws MalformedURLException */ public SmbNamedPipe ( String url, int pipeType, boolean unshared, CIFSContext tc ) throws MalformedURLException { super(url, tc); this.pipeType = pipeType; setNonPooled(unshared); if ( !getLocator().isIPC() ) { throw new MalformedURLException("Named pipes are only valid on IPC$"); } this.fileLocator.updateType(TYPE_NAMED_PIPE); }
/** * Open the Named Pipe resource specified by the url * parameter. The pipeType parameter should be at least one of * the <code>PIPE_TYPE</code> flags combined with the bitwise OR * operator <code>|</code>. See the examples listed above. * * @param url * @param pipeType * @param unshared * whether to use an exclusive connection for this pipe * @param tc * @throws MalformedURLException */ public SmbNamedPipe ( String url, int pipeType, boolean unshared, CIFSContext tc ) throws MalformedURLException { super(url, tc); this.pipeType = pipeType; setNonPooled(unshared); if ( !getLocator().isIPC() ) { throw new MalformedURLException("Named pipes are only valid on IPC$"); } this.fileLocator.updateType(TYPE_NAMED_PIPE); }