MessageEndpointListener
public class MessageEndpointListenerENTERPRISE EDITION ONLY.
The listener for incoming message endpoint connections.
- 
                  
                  Initializes the MessageEndpointListener object with the given configuration. DeclarationSwift public init(config: MessageEndpointListenerConfiguration)ParametersconfigThe configuration object. 
- 
                  
                  Accepts the incoming message endpoint connection. DeclarationSwift public var connections: Array<MessageEndpointConnection> { get }
- 
                  
                  Accepts the incoming message endpoint connection. DeclarationSwift public func accept(connection: MessageEndpointConnection)ParametersconnectionThe MessageEndpointConnection object. 
- 
                  
                  Closes the given message endpoint connection. DeclarationSwift public func close(connection: MessageEndpointConnection)ParametersconnectionThe MessageEndpointConnection object. 
- 
                  
                  Close all active connections. DeclarationSwift public func closeAll()
- 
                  
                  Adds a change listener. Changes will be posted on the main queue. DeclarationSwift @discardableResult public func addChangeListener( _ listener: @escaping (MessageEndpointListenerChange) -> Void) -> ListenerTokenParameterslistenerThe listener to post the changes. Return ValueAn opaque listener token object for removing the listener. 
- 
                  
                  Adds a change listener with the dispatch queue on which changes will be posted. If the dispatch queue is not specified, the changes will be posted on the main queue. DeclarationSwift @discardableResult public func addChangeListener(withQueue queue: DispatchQueue?, _ listener: @escaping (MessageEndpointListenerChange) -> Void) -> ListenerTokenParametersqueueThe dispatch queue. listenerThe listener to post changes. Return ValueAn opaque listener token object for removing the listener. 
- 
                  
                  Removes a change listener with the given listener token. DeclarationSwift public func removeChangeListener(token: ListenerToken)ParameterstokenThe listener token. 
 MessageEndpointListener Class Reference
        MessageEndpointListener Class Reference