public interface ConnectionOperations
Modifier and Type | Method | Description |
---|---|---|
java.util.concurrent.Future<ChannelClosedEvent> |
closeAsync() |
Close the channel asynchronously.
|
java.util.concurrent.Future<ChannelOpenedEvent> |
openAsync(Endpoint endpoint,
java.lang.Long timeout) |
Method is asynchronous.
|
java.util.concurrent.Future<ChannelOpenedEvent> openAsync(Endpoint endpoint, java.lang.Long timeout)
endpoint
- of the server. If it is null then channel's one will be used.timeout
- for asynchronous operation. If it is null then the channels's one will be used.ProtocolException
- in case of some protocol specific problems while connection opening initialization.java.util.concurrent.Future<ChannelClosedEvent> closeAsync()
Note: It hasn't related with the channel timeout. Use the future.get() with timeout instead.
timeout
- it specifies channel opening timeout in milliseconds.ProtocolException
- in case of some protocol specific problems while connection closing.Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.