public class CDispositionPool extends java.lang.Object implements IResettableDisposition
| Constructor and Description |
|---|
CDispositionPool() |
| Modifier and Type | Method and Description |
|---|---|
void |
Close()
Cleanup any resources you allocated during construction
or ReadFromFile
Note: Close may be called more than once on the same object,
but once it is called, Dispose will not be called again.
|
void |
Dispose(CMessage message)
Do whatever the disposition type does with the message.
|
void |
Initialize(int poolSize,
IPoolableDisposition firstItem,
java.lang.String detailedFileName) |
void |
ReadFromFile(java.lang.String sFileName)
Read the settings for this disposition from a file.
|
void |
Reset() |
public void ReadFromFile(java.lang.String sFileName)
throws ResponseMasterException
IDispositionReadFromFile in interface IDispositionsFileName - The name of the file to readResponseMasterException - if there is a problempublic void Initialize(int poolSize,
IPoolableDisposition firstItem,
java.lang.String detailedFileName)
throws ResponseMasterException
ResponseMasterExceptionpublic void Close()
IDispositionClose in interface IDispositionpublic void Dispose(CMessage message) throws ResponseMasterException
IDispositionDispose in interface IDispositionmessage - The message to processResponseMasterException - if there is a problempublic void Reset()
Reset in interface IResettableDisposition