public class PTrans extends Object
Configuration,
it must be started and eventually stopped.| Constructor and Description |
|---|
PTrans(Configuration configuration)
Creates a new PTrans instance for the given
configuration. |
| Modifier and Type | Method and Description |
|---|---|
void |
start()
Starts this PTrans instance.
|
void |
stop()
Stops this PTrans instance.
|
public PTrans(Configuration configuration)
configuration.configuration - a PTrans configuration object, must not be nullIllegalArgumentException - if the configuration parameter is null or invalidConfiguration.isValid()public void start()
throws InterruptedException
stop().InterruptedExceptionpublic void stop()
Copyright © 2014–2017 Red Hat, Inc.. All rights reserved.