use of sessionport.datacomm.group.object.relayed.latecomer.ALatecomerRelayingGroupConnectionManagerFactory in project GIPC by pdewan.
the class LatecomerClientAndServerUtil method setClientLatecomerFactories.
public static void setClientLatecomerFactories() {
ObjectDuplexSessionPortSelector.setDuplexSessionPortFactory(new ARelayingObjectDuplexSessionPortFactory());
// this is not really needed now is it?
ObjectGroupSessionPortSelector.setGroupSessionPortFactory(new ALatecomerObjectGroupSessionRelayedPortFactory());
RelayingGroupConnectionManagerSelector.setRelayingGroupConnectionManagerFactory(new ALatecomerRelayingGroupConnectionManagerFactory());
}
use of sessionport.datacomm.group.object.relayed.latecomer.ALatecomerRelayingGroupConnectionManagerFactory in project GIPC by pdewan.
the class ALatecomerRelayerAndSessionServerLauncherSupport method setLatecomerRelayedCommunicaton.
public static void setLatecomerRelayedCommunicaton(boolean yes) {
if (yes) {
ObjectDuplexSessionPortSelector.setDuplexSessionPortFactory(new ARelayingObjectDuplexSessionPortFactory());
// ObjectGroupSessionPortSelector.setGroupSessionPortFactory(
// new ALatecomerObjectGroupSessionRelayedPortFactory());
ObjectGroupSessionPortSelector.setGroupSessionPortFactory(new AnEfficientObjectGroupSessionRelayedPortFactory());
RelayingGroupConnectionManagerSelector.setRelayingGroupConnectionManagerFactory(new ALatecomerRelayingGroupConnectionManagerFactory());
} else {
ObjectDuplexSessionPortSelector.setDuplexSessionPortFactory(new ADirectObjectDuplexSessionPortFactory());
ObjectGroupSessionPortSelector.setGroupSessionPortFactory(new ALayeredObjectGroupSessionPortFactory());
}
}
Aggregations