net.officefloor.plugin.socket.server.tcp.protocol
Class CleanupTask
java.lang.Object
net.officefloor.frame.util.AbstractSingleTask<Work,None,None>
net.officefloor.plugin.socket.server.tcp.protocol.CleanupTask
- All Implemented Interfaces:
- TaskFactory<Work,None,None>, WorkFactory<Work>, Task<Work,None,None>, Work
public class CleanupTask
- extends AbstractSingleTask<Work,None,None>
Cleans up the ServerTcpConnection.
- Author:
- Daniel Sagenschneider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CleanupTask
public CleanupTask()
doTask
public Object doTask(TaskContext<Work,None,None> context)
throws Throwable
- Description copied from interface:
Task
- Does the task.
- Parameters:
context - TaskContext for the Task.
- Returns:
- Parameter for the next
Task. This allows stringing
Task instances together into a JobSequence.
- Throws:
Throwable - Indicating failure of the Task.
Copyright © 2005-2013. All Rights Reserved.