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