Search in sources :

Example 1 with AnEfficientObjectGroupSessionRelayedPortFactory

use of sessionport.datacomm.group.object.relayed.AnEfficientObjectGroupSessionRelayedPortFactory 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());
    }
}
Also used : ALayeredObjectGroupSessionPortFactory(sessionport.datacomm.group.object.direct.ALayeredObjectGroupSessionPortFactory) ARelayingObjectDuplexSessionPortFactory(sessionport.datacomm.duplex.object.relayed.ARelayingObjectDuplexSessionPortFactory) ADirectObjectDuplexSessionPortFactory(sessionport.datacomm.duplex.object.direct.ADirectObjectDuplexSessionPortFactory) AnEfficientObjectGroupSessionRelayedPortFactory(sessionport.datacomm.group.object.relayed.AnEfficientObjectGroupSessionRelayedPortFactory)

Example 2 with AnEfficientObjectGroupSessionRelayedPortFactory

use of sessionport.datacomm.group.object.relayed.AnEfficientObjectGroupSessionRelayedPortFactory in project GIPC by pdewan.

the class RelayerClientAndServerSupport method setClientEfficientRelayerFactories.

public static void setClientEfficientRelayerFactories() {
    ObjectDuplexSessionPortSelector.setDuplexSessionPortFactory(new ARelayingObjectDuplexSessionPortFactory());
    ObjectGroupSessionPortSelector.setGroupSessionPortFactory(new AnEfficientObjectGroupSessionRelayedPortFactory());
}
Also used : ARelayingObjectDuplexSessionPortFactory(sessionport.datacomm.duplex.object.relayed.ARelayingObjectDuplexSessionPortFactory) AnEfficientObjectGroupSessionRelayedPortFactory(sessionport.datacomm.group.object.relayed.AnEfficientObjectGroupSessionRelayedPortFactory)

Example 3 with AnEfficientObjectGroupSessionRelayedPortFactory

use of sessionport.datacomm.group.object.relayed.AnEfficientObjectGroupSessionRelayedPortFactory 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());
    }
}
Also used : ALayeredObjectGroupSessionPortFactory(sessionport.datacomm.group.object.direct.ALayeredObjectGroupSessionPortFactory) ARelayingObjectDuplexSessionPortFactory(sessionport.datacomm.duplex.object.relayed.ARelayingObjectDuplexSessionPortFactory) ALatecomerRelayingGroupConnectionManagerFactory(sessionport.datacomm.group.object.relayed.latecomer.ALatecomerRelayingGroupConnectionManagerFactory) ADirectObjectDuplexSessionPortFactory(sessionport.datacomm.duplex.object.direct.ADirectObjectDuplexSessionPortFactory) AnEfficientObjectGroupSessionRelayedPortFactory(sessionport.datacomm.group.object.relayed.AnEfficientObjectGroupSessionRelayedPortFactory)

Aggregations

ARelayingObjectDuplexSessionPortFactory (sessionport.datacomm.duplex.object.relayed.ARelayingObjectDuplexSessionPortFactory)3 AnEfficientObjectGroupSessionRelayedPortFactory (sessionport.datacomm.group.object.relayed.AnEfficientObjectGroupSessionRelayedPortFactory)3 ADirectObjectDuplexSessionPortFactory (sessionport.datacomm.duplex.object.direct.ADirectObjectDuplexSessionPortFactory)2 ALayeredObjectGroupSessionPortFactory (sessionport.datacomm.group.object.direct.ALayeredObjectGroupSessionPortFactory)2 ALatecomerRelayingGroupConnectionManagerFactory (sessionport.datacomm.group.object.relayed.latecomer.ALatecomerRelayingGroupConnectionManagerFactory)1