use of sessionport.datacomm.group.object.direct.ALayeredObjectGroupSessionPortFactory in project GIPC by pdewan.
the class RelayerClientAndServerSupport method setRelayedCommunicaton.
public static void setRelayedCommunicaton(boolean yes) {
if (yes) {
ObjectDuplexSessionPortSelector.setDuplexSessionPortFactory(new ARelayingObjectDuplexSessionPortFactory());
ObjectGroupSessionPortSelector.setGroupSessionPortFactory(new AnObjectGroupSessionPortRelayedFactory());
} else {
ObjectDuplexSessionPortSelector.setDuplexSessionPortFactory(new ADirectObjectDuplexSessionPortFactory());
ObjectGroupSessionPortSelector.setGroupSessionPortFactory(new ALayeredObjectGroupSessionPortFactory());
}
}
use of sessionport.datacomm.group.object.direct.ALayeredObjectGroupSessionPortFactory in project GIPC by pdewan.
the class AStaticSessionDuplexBufferPortLauncherSupport method setP2PFactories.
public static void setP2PFactories() {
ObjectDuplexSessionPortSelector.setDuplexSessionPortFactory(new ADirectObjectDuplexSessionPortFactory());
ObjectGroupSessionPortSelector.setGroupSessionPortFactory(new ALayeredObjectGroupSessionPortFactory());
}
use of sessionport.datacomm.group.object.direct.ALayeredObjectGroupSessionPortFactory in project GIPC by pdewan.
the class RelayerClientAndServerSupport method setEfficientRelayedCommunicaton.
public static void setEfficientRelayedCommunicaton(boolean yes) {
if (yes) {
ObjectDuplexSessionPortSelector.setDuplexSessionPortFactory(new ARelayingObjectDuplexSessionPortFactory());
ObjectGroupSessionPortSelector.setGroupSessionPortFactory(new AnEfficientObjectGroupSessionRelayedPortFactory());
} else {
ObjectDuplexSessionPortSelector.setDuplexSessionPortFactory(new ADirectObjectDuplexSessionPortFactory());
ObjectGroupSessionPortSelector.setGroupSessionPortFactory(new ALayeredObjectGroupSessionPortFactory());
}
}
use of sessionport.datacomm.group.object.direct.ALayeredObjectGroupSessionPortFactory 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