public class BaseContext extends AbstractCIFSContext
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
BaseContext(Configuration config)
Construct a context
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
close() |
SmbResource |
get(String url)
Get a resource
|
BufferCache |
getBufferCache() |
Configuration |
getConfig() |
DfsResolver |
getDfs() |
NameServiceClient |
getNameServiceClient() |
SmbPipeResource |
getPipe(String url,
int pipeType)
Get a pipe resource
|
SidResolver |
getSIDResolver() |
SmbTransportPool |
getTransportPool() |
URLStreamHandler |
getUrlHandler() |
getCredentials, hasDefaultCredentials, renewCredentials, run, withAnonymousCredentials, withCredentials, withDefaultCredentials, withGuestCrendentialsactiveCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic BaseContext(Configuration config)
config - configuration for the contextpublic SmbResource get(String url) throws CIFSException
CIFSExceptionCIFSContext.get(java.lang.String)public SmbPipeResource getPipe(String url, int pipeType) throws CIFSException
pipeType - the type of the pipeCIFSExceptionCIFSContext.getPipe(java.lang.String, int)public SmbTransportPool getTransportPool()
public Configuration getConfig()
CIFSContext.getConfig()public DfsResolver getDfs()
CIFSContext.getDfs()public NameServiceClient getNameServiceClient()
CIFSContext.getNameServiceClient()public BufferCache getBufferCache()
CIFSContext.getBufferCache()public URLStreamHandler getUrlHandler()
CIFSContext.getUrlHandler()public SidResolver getSIDResolver()
CIFSContext.getSIDResolver()public boolean close()
throws CIFSException
close in interface CIFSContextclose in class AbstractCIFSContextCIFSExceptionCIFSContext.close()Copyright © 2021. All rights reserved.