|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectjGpibEnet.controllers.ControllerFactory
public class ControllerFactory
Factory To Get The Correct Controller Type. The Controller Once Class Loaded Is Stored In A Static HashMap Based On IpAddress.
Constructor Summary | |
---|---|
ControllerFactory()
Creates a new instance of ControllerFactory |
Method Summary | |
---|---|
ControllerIfc |
getController(ControllerType type,
java.lang.String ipAddress,
int commTimeOutInSec)
Returns The Appropriate Controller |
void |
removeController(java.lang.String ipAddress)
Remove Controller From HashMap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ControllerFactory()
Method Detail |
---|
public ControllerIfc getController(ControllerType type, java.lang.String ipAddress, int commTimeOutInSec) throws GpibEnetException
type
- Controller TypeipAddress
- Ip Address of Controller
GpibEnetException
public void removeController(java.lang.String ipAddress)
ipAddress
- Ip Address Of Controller To Remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |