public interface ILoadBalancer extends IAttachableDuplexInputChannel
Modifier and Type | Method and Description |
---|---|
void |
addDuplexOutputChannel(java.lang.String channelId)
Adds the request receiver to the load balancer.
|
void |
removeAllDuplexOutputChannels()
Removes all request receiers from the load balanacer.
|
void |
removeDuplexOutputChannel(java.lang.String channelId)
Removes the request receiver from the load balancer.
|
Event<ResponseReceiverEventArgs> |
responseReceiverConnected()
The event is invoked when the client sending requests was connected to the load balancer.
|
Event<ResponseReceiverEventArgs> |
responseReceiverDisconnected()
The event is invoked when the client sending requests was disconnected from the load balanacer.
|
attachDuplexInputChannel, detachDuplexInputChannel, getAttachedDuplexInputChannel, isDuplexInputChannelAttached
Event<ResponseReceiverEventArgs> responseReceiverConnected()
Event<ResponseReceiverEventArgs> responseReceiverDisconnected()
void addDuplexOutputChannel(java.lang.String channelId) throws java.lang.Exception
channelId
- channel id (address) of the receiver processing requests.java.lang.Exception
void removeDuplexOutputChannel(java.lang.String channelId) throws java.lang.Exception
channelId
- channel id (address) of the receiver processing requests.java.lang.Exception
void removeAllDuplexOutputChannels()