Search in sources :

Example 1 with ALayeredObjectGroupSessionPortFactory

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

Example 2 with 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());
}
Also used : ALayeredObjectGroupSessionPortFactory(sessionport.datacomm.group.object.direct.ALayeredObjectGroupSessionPortFactory) ADirectObjectDuplexSessionPortFactory(sessionport.datacomm.duplex.object.direct.ADirectObjectDuplexSessionPortFactory)

Example 3 with 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());
    }
}
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 4 with 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());
    }
}
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

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