public class RandomPolicyFactory extends Object implements MultiplexingPolicyFactory
Constructor and Description |
---|
RandomPolicyFactory() |
Modifier and Type | Method and Description |
---|---|
MultiplexingPolicy |
newPolicy(Session_High[] sessions,
Protocol[] protocols)
Creates a new MultiplexingPolicy instance.
|
public MultiplexingPolicy newPolicy(Session_High[] sessions, Protocol[] protocols)
MultiplexingPolicyFactory
newPolicy
in interface MultiplexingPolicyFactory
sessions
- the lower level Session_Highs.protocols
- the protocols corresponding to the sessions,
in the same order.