- java.lang.Object
-
- swim.system.AbstractDownlinkBinding
-
- swim.system.DownlinkModel<View>
-
- All Implemented Interfaces:
LinkBinding
,Log
- Direct Known Subclasses:
WarpDownlinkModem
public abstract class DownlinkModel<View extends DownlinkView> extends AbstractDownlinkBinding implements LinkBinding
-
-
Field Summary
Fields Modifier and Type Field Description protected Object
views
protected static AtomicReferenceFieldUpdater<DownlinkModel<?>,Object>
VIEWS
-
Fields inherited from class swim.system.AbstractDownlinkBinding
hostUri, laneUri, meshUri, nodeUri
-
-
Constructor Summary
Constructors Constructor Description DownlinkModel(Uri meshUri, Uri hostUri, Uri nodeUri, Uri laneUri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accumulateExecTime(long execDelta)
void
addDownlink(View view)
protected void
didAddDownlink(View view)
void
didCloseUp()
void
didConnect()
void
didDisconnect()
void
didFail(Throwable error)
protected void
didRemoveDownlink(View view)
void
removeDownlink(View view)
protected void
removeDownlinks()
void
reopen()
-
Methods inherited from class swim.system.AbstractDownlinkBinding
bottomLink, cellAddressDown, cellContext, cipherSuite, cipherSuiteDown, closeDown, debug, debugDown, didFailUp, error, errorDown, fail, failDown, hostUri, info, infoDown, isConnected, isConnectedDown, isRemote, isRemoteDown, isSecure, isSecureDown, laneUri, linkContext, linkKey, linkWrapper, localAddress, localAddressDown, localCertificates, localCertificatesDown, localIdentity, localIdentityDown, localPrincipal, localPrincipalDown, meshUri, nodeUri, openDown, remoteAddress, remoteAddressDown, remoteCertificates, remoteCertificatesDown, remoteIdentity, remoteIdentityDown, remotePrincipal, remotePrincipalDown, securityProtocol, securityProtocolDown, setHostUri, setNodeUri, trace, traceDown, unwrapLink, warn, warnDown
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface swim.system.LinkBinding
bottomLink, cellAddressDown, cellContext, cipherSuiteDown, closeDown, debugDown, didFailUp, errorDown, failDown, hostUri, infoDown, isConnectedDown, isRemoteDown, isSecureDown, laneUri, linkContext, linkKey, linkWrapper, localAddressDown, localCertificatesDown, localIdentityDown, localPrincipalDown, meshUri, nodeUri, openDown, openMetaDownlink, remoteAddressDown, remoteCertificatesDown, remoteIdentityDown, remotePrincipalDown, securityProtocolDown, setCellContext, setHostUri, setLinkContext, setNodeUri, traceDown, unwrapLink, warnDown
-
-
-
-
Field Detail
-
views
protected volatile Object views
-
VIEWS
protected static final AtomicReferenceFieldUpdater<DownlinkModel<?>,Object> VIEWS
-
-
Method Detail
-
addDownlink
public void addDownlink(View view)
-
removeDownlink
public void removeDownlink(View view)
-
removeDownlinks
protected void removeDownlinks()
-
didAddDownlink
protected void didAddDownlink(View view)
-
didRemoveDownlink
protected void didRemoveDownlink(View view)
-
reopen
public void reopen()
- Specified by:
reopen
in interfaceLinkBinding
- Specified by:
reopen
in classAbstractDownlinkBinding
-
didConnect
public void didConnect()
- Specified by:
didConnect
in interfaceLinkBinding
- Specified by:
didConnect
in classAbstractDownlinkBinding
-
didDisconnect
public void didDisconnect()
- Specified by:
didDisconnect
in interfaceLinkBinding
- Specified by:
didDisconnect
in classAbstractDownlinkBinding
-
didCloseUp
public void didCloseUp()
- Specified by:
didCloseUp
in interfaceLinkBinding
- Specified by:
didCloseUp
in classAbstractDownlinkBinding
-
didFail
public void didFail(Throwable error)
- Specified by:
didFail
in interfaceLinkBinding
- Specified by:
didFail
in classAbstractDownlinkBinding
-
accumulateExecTime
public void accumulateExecTime(long execDelta)
-
-