@SimulationSupport public class AbortTask extends Object
Constructor and Description |
---|
AbortTask(GateProfile profile,
String sessionId)
Creates a new instance.
|
public AbortTask(GateProfile profile, String sessionId) throws IOException
profile
- the target profilesessionId
- the target session ID to abort, or null
if aborts all sessionsIOException
- if failed to initialize the taskIllegalArgumentException
- if any parameter is null
public void execute() throws IOException, InterruptedException
IOException
- if failedInterruptedException
- if interruptedCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.