- java.lang.Object
-
- swim.system.AbstractDownlinkBinding
-
- All Implemented Interfaces:
LinkBinding
,Log
- Direct Known Subclasses:
DownlinkModel
public abstract class AbstractDownlinkBinding extends Object implements LinkBinding, Log
-
-
Constructor Summary
Constructors Constructor Description AbstractDownlinkBinding(Uri meshUri, Uri hostUri, Uri nodeUri, Uri laneUri)
-
Method Summary
-
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
openMetaDownlink, setCellContext, setLinkContext
-
-
-
-
Method Detail
-
linkWrapper
public abstract LinkBinding linkWrapper()
- Specified by:
linkWrapper
in interfaceLinkBinding
-
linkContext
public abstract LinkContext linkContext()
- Specified by:
linkContext
in interfaceLinkBinding
-
cellContext
public abstract CellContext cellContext()
- Specified by:
cellContext
in interfaceLinkBinding
-
unwrapLink
public <T> T unwrapLink(Class<T> linkClass)
- Specified by:
unwrapLink
in interfaceLinkBinding
-
bottomLink
public <T> T bottomLink(Class<T> linkClass)
- Specified by:
bottomLink
in interfaceLinkBinding
-
meshUri
public final Uri meshUri()
- Specified by:
meshUri
in interfaceLinkBinding
-
hostUri
public final Uri hostUri()
- Specified by:
hostUri
in interfaceLinkBinding
-
setHostUri
public void setHostUri(Uri hostUri)
- Specified by:
setHostUri
in interfaceLinkBinding
-
nodeUri
public final Uri nodeUri()
- Specified by:
nodeUri
in interfaceLinkBinding
-
setNodeUri
public void setNodeUri(Uri nodeUri)
- Specified by:
setNodeUri
in interfaceLinkBinding
-
laneUri
public final Uri laneUri()
- Specified by:
laneUri
in interfaceLinkBinding
-
linkKey
public final Value linkKey()
- Specified by:
linkKey
in interfaceLinkBinding
-
cellAddressDown
public DownlinkAddress cellAddressDown()
- Specified by:
cellAddressDown
in interfaceLinkBinding
-
isConnectedDown
public boolean isConnectedDown()
- Specified by:
isConnectedDown
in interfaceLinkBinding
-
isRemoteDown
public boolean isRemoteDown()
- Specified by:
isRemoteDown
in interfaceLinkBinding
-
isSecureDown
public boolean isSecureDown()
- Specified by:
isSecureDown
in interfaceLinkBinding
-
securityProtocolDown
public String securityProtocolDown()
- Specified by:
securityProtocolDown
in interfaceLinkBinding
-
cipherSuiteDown
public String cipherSuiteDown()
- Specified by:
cipherSuiteDown
in interfaceLinkBinding
-
localAddressDown
public InetSocketAddress localAddressDown()
- Specified by:
localAddressDown
in interfaceLinkBinding
-
localIdentityDown
public final Identity localIdentityDown()
- Specified by:
localIdentityDown
in interfaceLinkBinding
-
localPrincipalDown
public Principal localPrincipalDown()
- Specified by:
localPrincipalDown
in interfaceLinkBinding
-
localCertificatesDown
public Collection<Certificate> localCertificatesDown()
- Specified by:
localCertificatesDown
in interfaceLinkBinding
-
remoteAddressDown
public InetSocketAddress remoteAddressDown()
- Specified by:
remoteAddressDown
in interfaceLinkBinding
-
remoteIdentityDown
public final Identity remoteIdentityDown()
- Specified by:
remoteIdentityDown
in interfaceLinkBinding
-
remotePrincipalDown
public Principal remotePrincipalDown()
- Specified by:
remotePrincipalDown
in interfaceLinkBinding
-
remoteCertificatesDown
public Collection<Certificate> remoteCertificatesDown()
- Specified by:
remoteCertificatesDown
in interfaceLinkBinding
-
isConnected
public boolean isConnected()
-
isRemote
public boolean isRemote()
-
isSecure
public boolean isSecure()
-
securityProtocol
public String securityProtocol()
-
cipherSuite
public String cipherSuite()
-
localAddress
public InetSocketAddress localAddress()
-
localIdentity
public Identity localIdentity()
-
localPrincipal
public Principal localPrincipal()
-
localCertificates
public Collection<Certificate> localCertificates()
-
remoteAddress
public InetSocketAddress remoteAddress()
-
remoteIdentity
public Identity remoteIdentity()
-
remotePrincipal
public Principal remotePrincipal()
-
remoteCertificates
public Collection<Certificate> remoteCertificates()
-
reopen
public abstract void reopen()
- Specified by:
reopen
in interfaceLinkBinding
-
openDown
public abstract void openDown()
- Specified by:
openDown
in interfaceLinkBinding
-
closeDown
public abstract void closeDown()
- Specified by:
closeDown
in interfaceLinkBinding
-
didConnect
public abstract void didConnect()
- Specified by:
didConnect
in interfaceLinkBinding
-
didDisconnect
public abstract void didDisconnect()
- Specified by:
didDisconnect
in interfaceLinkBinding
-
didCloseUp
public abstract void didCloseUp()
- Specified by:
didCloseUp
in interfaceLinkBinding
-
didFailUp
public abstract void didFailUp(Throwable error)
- Specified by:
didFailUp
in interfaceLinkBinding
-
didFail
public abstract void didFail(Throwable error)
- Specified by:
didFail
in interfaceLinkBinding
-
traceDown
public void traceDown(Object message)
- Specified by:
traceDown
in interfaceLinkBinding
-
debugDown
public void debugDown(Object message)
- Specified by:
debugDown
in interfaceLinkBinding
-
infoDown
public void infoDown(Object message)
- Specified by:
infoDown
in interfaceLinkBinding
-
warnDown
public void warnDown(Object message)
- Specified by:
warnDown
in interfaceLinkBinding
-
errorDown
public void errorDown(Object message)
- Specified by:
errorDown
in interfaceLinkBinding
-
failDown
public void failDown(Object message)
- Specified by:
failDown
in interfaceLinkBinding
-
trace
public void trace(Object message)
Description copied from interface:Log
Logs a trace-level message.
-
debug
public void debug(Object message)
Description copied from interface:Log
Logs a debug-level message.
-
info
public void info(Object message)
Description copied from interface:Log
Logs an info-level message.
-
warn
public void warn(Object message)
Description copied from interface:Log
Logs a warn-level message.
-
error
public void error(Object message)
Description copied from interface:Log
Logs an error-level message.
-
-