Package | Description |
---|---|
com.ergotech.vib.ports |
Modifier and Type | Class and Description |
---|---|
class |
PortPool
The port pool keeps track of a pool of ports.
|
static class |
TCPPassivePortFactory.PassivePortPool
The port pool concept is slightly different for a passive port.
|
Modifier and Type | Method and Description |
---|---|
PortPoolInterface |
Port.getPortPool()
Returns the port pool that this port was served from.
|
PortPoolInterface |
PortInterface.getPortPool()
Returns the port pool that this port was served from.
|
PortPoolInterface |
PortFactory.getPortPool(java.lang.String portName,
java.lang.Object checkedForDuplication)
Calling this methods indicates that a component is interested in this
factory and will (presumably) be calling "checkin/checkout" at some
later date to get access to the underlying resource.
|
PortPoolInterface |
PortFactoryInterface.getPortPool(java.lang.String portName,
java.lang.Object checkedForDuplication)
Returns a pool for a particular port.
|
Modifier and Type | Method and Description |
---|---|
void |
PortFactory.releasePortPool(PortPoolInterface portPool,
java.lang.Object mustHaveBeenAdded)
Once a factory is no longer required, that is, checkin/checkout will no
longer be called on this factory, the reference to the factory should be
removed allowing the factory and any underlying resources to be freed.
|
void |
PortFactoryInterface.releasePortPool(PortPoolInterface portPool,
java.lang.Object mustHaveBeenAdded)
Removes a reference to a particular port name.
|
void |
Port.setPortPool(PortPoolInterface portPool)
Sets the port pool that this port was served from.
|
void |
PortInterface.setPortPool(PortPoolInterface portPool)
Sets the port pool that this port was served from.
|
void |
SerialWrapper.setPortPool(PortPoolInterface portPool)
Opens and closes the port based on the value passed.
|
Copyright © 1999-2021 ErgoTech Systems, Inc. All Rights Reserved.