Search in sources :

Example 6 with ARelayingObjectDuplexSessionPortFactory

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

Example 7 with ARelayingObjectDuplexSessionPortFactory

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