public abstract class AbstractMessageTask extends AbstractTask
logger_
Constructor and Description |
---|
AbstractMessageTask() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkInterrupt() |
Message |
copyMessage() |
void |
dispose()
The call to this Method indicates that this Object is not needed by the user anymore.
|
protected Message |
getMessage() |
protected boolean |
isRunnable() |
Message |
removeMessage() |
void |
reset()
Reset the Object to an initial state.
|
void |
setMessage(Message message)
set the Message for this Task to use.
|
doWork, getTaskExecutor, run, schedule, schedule, setTaskExecutor
setObjectPool
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
schedule
public void setMessage(Message message)
public Message removeMessage()
public Message copyMessage()
protected boolean isRunnable()
isRunnable
in class AbstractTask
protected void checkInterrupt() throws InterruptedException
checkInterrupt
in class AbstractTask
InterruptedException
protected Message getMessage()
public void dispose()
AbstractPoolable
dispose
the Object can be returned to its ObjectPool. It's forbidden
to use the Object after release has been called as this may cause unexpected behaviour.dispose
in class AbstractPoolable
public void reset()
AbstractPoolable
reset
in class AbstractPoolable
Copyright © 2017 JacORB. All rights reserved.