use of sessionport.datacomm.duplex.object.relayed.ARelayingObjectDuplexSessionPortFactory in project GIPC by pdewan.
the class RelayerClientAndServerSupport method setClientRelayerFactories.
public static void setClientRelayerFactories() {
ObjectDuplexSessionPortSelector.setDuplexSessionPortFactory(new ARelayingObjectDuplexSessionPortFactory());
ObjectGroupSessionPortSelector.setGroupSessionPortFactory(new AnObjectGroupSessionPortRelayedFactory());
}
use of sessionport.datacomm.duplex.object.relayed.ARelayingObjectDuplexSessionPortFactory 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