Search in sources :

Example 1 with ALatecomerRelayingGroupConnectionManagerFactory

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());
}
Also used : ARelayingObjectDuplexSessionPortFactory(sessionport.datacomm.duplex.object.relayed.ARelayingObjectDuplexSessionPortFactory) ALatecomerRelayingGroupConnectionManagerFactory(sessionport.datacomm.group.object.relayed.latecomer.ALatecomerRelayingGroupConnectionManagerFactory) ALatecomerObjectGroupSessionRelayedPortFactory(sessionport.datacomm.group.object.relayed.latecomer.ALatecomerObjectGroupSessionRelayedPortFactory)

Example 2 with 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());
    }
}
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)2 ALatecomerRelayingGroupConnectionManagerFactory (sessionport.datacomm.group.object.relayed.latecomer.ALatecomerRelayingGroupConnectionManagerFactory)2 ADirectObjectDuplexSessionPortFactory (sessionport.datacomm.duplex.object.direct.ADirectObjectDuplexSessionPortFactory)1 ALayeredObjectGroupSessionPortFactory (sessionport.datacomm.group.object.direct.ALayeredObjectGroupSessionPortFactory)1 AnEfficientObjectGroupSessionRelayedPortFactory (sessionport.datacomm.group.object.relayed.AnEfficientObjectGroupSessionRelayedPortFactory)1 ALatecomerObjectGroupSessionRelayedPortFactory (sessionport.datacomm.group.object.relayed.latecomer.ALatecomerObjectGroupSessionRelayedPortFactory)1