|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.rad.io.TransferContext
public class TransferContext
The ServerContextImpl is an internal ServerContext implementation.
| Constructor Summary | |
|---|---|
TransferContext(IDownloadExecutor pDownload,
IUploadExecutor pUpload)
Creates a new instance of TransferContext. |
|
| Method Summary | |
|---|---|
static IDownloadExecutor |
getCurrentDownloadExecutor()
Gets the current download executor. |
static TransferContext |
getCurrentInstance()
Gets the current instance of TransferContext. |
static IUploadExecutor |
getCurrentUploadExecutor()
Gets the current upload executor. |
IDownloadExecutor |
getDownloadExecutor()
Gets the download executor. |
IUploadExecutor |
getUploadExecutor()
Gets the upload executor. |
boolean |
isReleased()
Gets the release state of this TransferContext. |
void |
release()
Release any resources associated with this TransferContext instance. |
protected void |
setInstance(TransferContext pContext)
Sets the current context instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransferContext(IDownloadExecutor pDownload,
IUploadExecutor pUpload)
TransferContext.
pDownload - the download executorpUpload - the upload executor| Method Detail |
|---|
public IDownloadExecutor getDownloadExecutor()
public IUploadExecutor getUploadExecutor()
public static IDownloadExecutor getCurrentDownloadExecutor()
public static IUploadExecutor getCurrentUploadExecutor()
public static TransferContext getCurrentInstance()
TransferContext.
protected void setInstance(TransferContext pContext)
pContext - the context instancepublic final void release()
TransferContext instance.
isReleased()public boolean isReleased()
TransferContext.
true if there is no current instance of TransferContext (means
that the TransferContext is released); otherwise false
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||