public class RelaySyncCallback.Guard
extends java.lang.Object
| Constructor and Description |
|---|
Guard() |
| Modifier and Type | Method and Description |
|---|---|
SyncCallback |
asSyncCallback() |
void |
discharge(RelayOk relayed)
This method should be called when operations was successfully relayed.
|
RelaySyncCallback |
getRelay() |
public void discharge(RelayOk relayed)
discharge(org.eclipse.wst.jsdt.chromium.RelayOk) (because of abnormal finishing) would cause guard to
call SyncCallback meaning the termination of the operation.relayed - public SyncCallback asSyncCallback()
SyncCallback that that would let the guard to fulfill its
main contractpublic RelaySyncCallback getRelay()
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.