public class BroadWorksConnection extends Object implements AutoCloseable
Constructor and Description |
---|
BroadWorksConnection(Alpaca alpaca,
co.ecg.utilities.properties.BroadWorksServerConfig configuration)
This method is used to initialize an Alpaca Object
|
Modifier and Type | Method and Description |
---|---|
void |
close()
This method is available to provide any cleanup that is needed
|
BroadWorksServer |
getBroadWorksServer() |
String |
getName() |
public BroadWorksConnection(Alpaca alpaca, co.ecg.utilities.properties.BroadWorksServerConfig configuration) throws BroadWorksServerException, IOException
alpaca
- The Alpaca instance for this BroadWorksConnectionconfiguration
- The BroadWorksServer config for this connectionBroadWorksServerException
- Thrown if an error occurs while logging into the BroadWorksServerIOException
- Thrown if a socket error occurspublic BroadWorksServer getBroadWorksServer()
public String getName()
public void close()
close
in interface AutoCloseable
Copyright © 2017 ECG. All rights reserved.