Search in sources :

Example 6 with ADirectObjectDuplexSessionPortFactory

use of sessionport.datacomm.duplex.object.direct.ADirectObjectDuplexSessionPortFactory 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 7 with ADirectObjectDuplexSessionPortFactory

use of sessionport.datacomm.duplex.object.direct.ADirectObjectDuplexSessionPortFactory 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)7 ALayeredObjectGroupSessionPortFactory (sessionport.datacomm.group.object.direct.ALayeredObjectGroupSessionPortFactory)4 ARelayingObjectDuplexSessionPortFactory (sessionport.datacomm.duplex.object.relayed.ARelayingObjectDuplexSessionPortFactory)3 AnEfficientObjectGroupSessionRelayedPortFactory (sessionport.datacomm.group.object.relayed.AnEfficientObjectGroupSessionRelayedPortFactory)2 ConnectionListener (inputport.ConnectionListener)1 AnObjectGroupSessionPortRelayedFactory (sessionport.datacomm.group.object.relayed.AnObjectGroupSessionPortRelayedFactory)1 ALatecomerRelayingGroupConnectionManagerFactory (sessionport.datacomm.group.object.relayed.latecomer.ALatecomerRelayingGroupConnectionManagerFactory)1 DuplexRPCSessionPort (sessionport.rpc.duplex.DuplexRPCSessionPort)1 ACallingConnectListener (sessionport.rpc.duplex.relayed.example.ACallingConnectListener)1 Adder (sessionport.rpc.duplex.relayed.example.Adder)1 AnAdder (sessionport.rpc.duplex.relayed.example.AnAdder)1