Search in sources :

Example 1 with AnObjectGroupSessionPortRelayedFactory

use of sessionport.datacomm.group.object.relayed.AnObjectGroupSessionPortRelayedFactory 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 AnObjectGroupSessionPortRelayedFactory

use of sessionport.datacomm.group.object.relayed.AnObjectGroupSessionPortRelayedFactory 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)

Aggregations

ARelayingObjectDuplexSessionPortFactory (sessionport.datacomm.duplex.object.relayed.ARelayingObjectDuplexSessionPortFactory)2 AnObjectGroupSessionPortRelayedFactory (sessionport.datacomm.group.object.relayed.AnObjectGroupSessionPortRelayedFactory)2 ADirectObjectDuplexSessionPortFactory (sessionport.datacomm.duplex.object.direct.ADirectObjectDuplexSessionPortFactory)1 ALayeredObjectGroupSessionPortFactory (sessionport.datacomm.group.object.direct.ALayeredObjectGroupSessionPortFactory)1