Search in sources :

Example 1 with PortLauncherSupport

use of port.PortLauncherSupport in project GIPC by pdewan.

the class CopyOfAnAbstractPortLauncher method getPortLauncherSupports.

protected List<PortLauncherSupport> getPortLauncherSupports() {
    List<PortLauncherSupport> retVal = new ArrayList();
    PortLauncherSupport support = getPortLauncherSupport();
    if (support != null)
        retVal.add(support);
    PortLauncherSupport auxSupport = getAuxilliaryPortLauncherSupport();
    if (auxSupport != null)
        retVal.add(auxSupport);
    PortLauncherSupport teriarySupport = getTertiaryPortLauncherSupport();
    if (teriarySupport != null)
        retVal.add(teriarySupport);
    PortLauncherSupport shouldDelaySupport = getDelayPortLauncherSupport();
    if (shouldDelaySupport != null) {
        retVal.add(shouldDelaySupport);
    }
    PortLauncherSupport delays = getPortLauncherDelaysSupport();
    if (delays != null) {
        retVal.add(delays);
    }
    PortLauncherSupport causalSupport = getCausalPortLauncherSupport();
    if (causalSupport != null) {
        retVal.add(causalSupport);
    }
    // unwrap time stamped message before replicated trappers get message
    PortLauncherSupport jitterSupport = getJitterPortLauncherSupport();
    if (jitterSupport != null) {
        retVal.add(jitterSupport);
    }
    PortLauncherSupport replicatedSupport = getReplicatedPortLauncherSupport();
    if (replicatedSupport != null) {
        retVal.add(replicatedSupport);
    }
    PortLauncherSupport replicatedServerSupport = getReplicatedAuxilliaryPortLauncherSupport();
    if (replicatedServerSupport != null) {
        retVal.add(replicatedServerSupport);
    }
    return retVal;
}
Also used : AGroupRPCInputPortLauncherSupport(inputport.rpc.group.AGroupRPCInputPortLauncherSupport) ASimplexObjectInputPortLauncherSupport(inputport.datacomm.simplex.object.ASimplexObjectInputPortLauncherSupport) ADuplexRPCInputPortLauncherSupport(inputport.rpc.duplex.ADuplexRPCInputPortLauncherSupport) AGroupObjectInputPortLauncherSupport(inputport.datacomm.group.object.AGroupObjectInputPortLauncherSupport) ADuplexObjectInputPortLauncherSupport(inputport.datacomm.duplex.object.ADuplexObjectInputPortLauncherSupport) ASimplexBufferInputPortLauncherSupport(inputport.datacomm.simplex.buffer.ASimplexBufferInputPortLauncherSupport) AGroupBufferInputPortLauncherSupport(inputport.datacomm.group.buffer.AGroupBufferInputPortLauncherSupport) ADuplexBufferInputPortLauncherSupport(inputport.datacomm.duplex.buffer.ADuplexBufferInputPortLauncherSupport) PortLauncherSupport(port.PortLauncherSupport) ArrayList(java.util.ArrayList)

Example 2 with PortLauncherSupport

use of port.PortLauncherSupport in project GIPC by pdewan.

the class CopyOfAnAbstractPortLauncher method getDefaultPortLauncherSupport.

protected PortLauncherSupport getDefaultPortLauncherSupport() {
    PortLauncherSupport portLauncherSupport = null;
    portDescription = getPortDescription();
    if (portDescription != null) {
        portLauncherSupport = getPortLauncherSupport(portDescription);
    }
    if (portLauncherSupport != null)
        return portLauncherSupport;
    else
        return new ADuplexRPCInputPortLauncherSupport();
}
Also used : ADuplexRPCInputPortLauncherSupport(inputport.rpc.duplex.ADuplexRPCInputPortLauncherSupport) AGroupRPCInputPortLauncherSupport(inputport.rpc.group.AGroupRPCInputPortLauncherSupport) ASimplexObjectInputPortLauncherSupport(inputport.datacomm.simplex.object.ASimplexObjectInputPortLauncherSupport) ADuplexRPCInputPortLauncherSupport(inputport.rpc.duplex.ADuplexRPCInputPortLauncherSupport) AGroupObjectInputPortLauncherSupport(inputport.datacomm.group.object.AGroupObjectInputPortLauncherSupport) ADuplexObjectInputPortLauncherSupport(inputport.datacomm.duplex.object.ADuplexObjectInputPortLauncherSupport) ASimplexBufferInputPortLauncherSupport(inputport.datacomm.simplex.buffer.ASimplexBufferInputPortLauncherSupport) AGroupBufferInputPortLauncherSupport(inputport.datacomm.group.buffer.AGroupBufferInputPortLauncherSupport) ADuplexBufferInputPortLauncherSupport(inputport.datacomm.duplex.buffer.ADuplexBufferInputPortLauncherSupport) PortLauncherSupport(port.PortLauncherSupport)

Example 3 with PortLauncherSupport

use of port.PortLauncherSupport in project GIPC by pdewan.

the class CopyOfAnAbstractPortLauncher method createAndBindConnectablePorts.

public void createAndBindConnectablePorts() {
    portLauncherSupports = getPortLauncherSupports();
    for (PortLauncherSupport support : portLauncherSupports) {
        support.init();
    }
    setStateBeforePortCreation();
    setPorts();
    // moved it up so that listeners can take proxies as arguments
    // as remote objects may need proxies, we creat them first
    createProxies();
    registerRemoteObjects();
    // createProxies();
    // setStateAfterPortButBeforeConnection();
    setNumberOfConnects();
    // inputPort = createPort();
    setStateBeforeAddingListeners();
    addListeners();
    addAuxilliaryListeners();
    addTertiaryListeners();
// registerMethods();
// createProxies();
}
Also used : AGroupRPCInputPortLauncherSupport(inputport.rpc.group.AGroupRPCInputPortLauncherSupport) ASimplexObjectInputPortLauncherSupport(inputport.datacomm.simplex.object.ASimplexObjectInputPortLauncherSupport) ADuplexRPCInputPortLauncherSupport(inputport.rpc.duplex.ADuplexRPCInputPortLauncherSupport) AGroupObjectInputPortLauncherSupport(inputport.datacomm.group.object.AGroupObjectInputPortLauncherSupport) ADuplexObjectInputPortLauncherSupport(inputport.datacomm.duplex.object.ADuplexObjectInputPortLauncherSupport) ASimplexBufferInputPortLauncherSupport(inputport.datacomm.simplex.buffer.ASimplexBufferInputPortLauncherSupport) AGroupBufferInputPortLauncherSupport(inputport.datacomm.group.buffer.AGroupBufferInputPortLauncherSupport) ADuplexBufferInputPortLauncherSupport(inputport.datacomm.duplex.buffer.ADuplexBufferInputPortLauncherSupport) PortLauncherSupport(port.PortLauncherSupport)

Aggregations

ADuplexBufferInputPortLauncherSupport (inputport.datacomm.duplex.buffer.ADuplexBufferInputPortLauncherSupport)3 ADuplexObjectInputPortLauncherSupport (inputport.datacomm.duplex.object.ADuplexObjectInputPortLauncherSupport)3 AGroupBufferInputPortLauncherSupport (inputport.datacomm.group.buffer.AGroupBufferInputPortLauncherSupport)3 AGroupObjectInputPortLauncherSupport (inputport.datacomm.group.object.AGroupObjectInputPortLauncherSupport)3 ASimplexBufferInputPortLauncherSupport (inputport.datacomm.simplex.buffer.ASimplexBufferInputPortLauncherSupport)3 ASimplexObjectInputPortLauncherSupport (inputport.datacomm.simplex.object.ASimplexObjectInputPortLauncherSupport)3 ADuplexRPCInputPortLauncherSupport (inputport.rpc.duplex.ADuplexRPCInputPortLauncherSupport)3 AGroupRPCInputPortLauncherSupport (inputport.rpc.group.AGroupRPCInputPortLauncherSupport)3 PortLauncherSupport (port.PortLauncherSupport)3 ArrayList (java.util.ArrayList)1