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;
}
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();
}
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();
}
Aggregations