LogicalChannels Methods |
The LogicalChannels type exposes the following members.
Name | Description | |
---|---|---|
Clear | Closes and releases all existing channel pools, and clears the properties of logical channels. This is useful when the property file has been modified, and new values need to be loaded. When a channel pool is closed, all it's associatted logical channels are closed and released. If a executor is using one of these logical channels, it may terminate throwing an exception. | |
ExecuteT(ChannelExecutorT) |
Allocates a logical channel from the default channel pool and
executes the supplied channel executor. The logical channel is
returned to the pool when the executor completes execution, either
successfully or by throwing an exception.
| |
ExecuteT(String, ChannelExecutorT) |
Allocates a logical channel from the default channel pool and
executes the supplied channel executor. The logical channel is
returned to the pool when the executor completes execution, either
successfully or by throwing an exception.
|