- java.lang.Object
-
- swim.system.AbstractUplinkContext
-
- All Implemented Interfaces:
Link
,Uplink
,Observable<Object>
,LinkContext
,Log
- Direct Known Subclasses:
HttpUplinkModem
,WarpUplinkModem
public abstract class AbstractUplinkContext extends Object implements LinkContext, Uplink
-
-
Constructor Summary
Constructors Constructor Description AbstractUplinkContext()
-
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.LinkContext
openMetaUplink
-
-
-
-
Field Detail
-
observers
protected volatile Object observers
-
-
Method Detail
-
laneBinding
public abstract LaneBinding laneBinding()
-
linkWrapper
public abstract LinkBinding linkWrapper()
- Specified by:
linkWrapper
in interfaceLinkContext
-
linkBinding
public abstract LinkBinding linkBinding()
-
unwrapLink
public <T> T unwrapLink(Class<T> linkClass)
- Specified by:
unwrapLink
in interfaceLinkContext
-
bottomLink
public <T> T bottomLink(Class<T> linkClass)
- Specified by:
bottomLink
in interfaceLinkContext
-
stage
public abstract Stage stage()
-
linkKey
public abstract Value linkKey()
- Specified by:
linkKey
in interfaceLinkContext
-
cellAddressUp
public UplinkAddress cellAddressUp()
- Specified by:
cellAddressUp
in interfaceLinkContext
-
isConnectedUp
public boolean isConnectedUp()
- Specified by:
isConnectedUp
in interfaceLinkContext
-
isRemoteUp
public boolean isRemoteUp()
- Specified by:
isRemoteUp
in interfaceLinkContext
-
isSecureUp
public boolean isSecureUp()
- Specified by:
isSecureUp
in interfaceLinkContext
-
securityProtocolUp
public String securityProtocolUp()
- Specified by:
securityProtocolUp
in interfaceLinkContext
-
cipherSuiteUp
public String cipherSuiteUp()
- Specified by:
cipherSuiteUp
in interfaceLinkContext
-
localAddressUp
public InetSocketAddress localAddressUp()
- Specified by:
localAddressUp
in interfaceLinkContext
-
localIdentityUp
public Identity localIdentityUp()
- Specified by:
localIdentityUp
in interfaceLinkContext
-
localPrincipalUp
public Principal localPrincipalUp()
- Specified by:
localPrincipalUp
in interfaceLinkContext
-
localCertificatesUp
public Collection<Certificate> localCertificatesUp()
- Specified by:
localCertificatesUp
in interfaceLinkContext
-
remoteAddressUp
public InetSocketAddress remoteAddressUp()
- Specified by:
remoteAddressUp
in interfaceLinkContext
-
remoteIdentityUp
public Identity remoteIdentityUp()
- Specified by:
remoteIdentityUp
in interfaceLinkContext
-
remotePrincipalUp
public Principal remotePrincipalUp()
- Specified by:
remotePrincipalUp
in interfaceLinkContext
-
remoteCertificatesUp
public Collection<Certificate> remoteCertificatesUp()
- Specified by:
remoteCertificatesUp
in interfaceLinkContext
-
isConnected
public boolean isConnected()
- Specified by:
isConnected
in interfaceLink
-
securityProtocol
public String securityProtocol()
- Specified by:
securityProtocol
in interfaceLink
-
cipherSuite
public String cipherSuite()
- Specified by:
cipherSuite
in interfaceLink
-
localAddress
public InetSocketAddress localAddress()
- Specified by:
localAddress
in interfaceLink
-
localIdentity
public Identity localIdentity()
- Specified by:
localIdentity
in interfaceLink
-
localPrincipal
public Principal localPrincipal()
- Specified by:
localPrincipal
in interfaceLink
-
localCertificates
public Collection<Certificate> localCertificates()
- Specified by:
localCertificates
in interfaceLink
-
remoteAddress
public InetSocketAddress remoteAddress()
- Specified by:
remoteAddress
in interfaceLink
-
remoteIdentity
public Identity remoteIdentity()
- Specified by:
remoteIdentity
in interfaceLink
-
remotePrincipal
public Principal remotePrincipal()
- Specified by:
remotePrincipal
in interfaceLink
-
remoteCertificates
public Collection<Certificate> remoteCertificates()
- Specified by:
remoteCertificates
in interfaceLink
-
observe
public AbstractUplinkContext observe(Object newObserver)
-
unobserve
public AbstractUplinkContext unobserve(Object oldObserver)
-
closeUp
public void closeUp()
- Specified by:
closeUp
in interfaceLinkContext
-
didOpenDown
public void didOpenDown()
- Specified by:
didOpenDown
in interfaceLinkContext
-
didCloseDown
public void didCloseDown()
- Specified by:
didCloseDown
in interfaceLinkContext
-
didClose
protected void didClose()
-
didFailDown
public void didFailDown(Throwable error)
- Specified by:
didFailDown
in interfaceLinkContext
-
didFail
protected void didFail(Throwable error)
-
traceUp
public void traceUp(Object message)
- Specified by:
traceUp
in interfaceLinkContext
-
debugUp
public void debugUp(Object message)
- Specified by:
debugUp
in interfaceLinkContext
-
infoUp
public void infoUp(Object message)
- Specified by:
infoUp
in interfaceLinkContext
-
warnUp
public void warnUp(Object message)
- Specified by:
warnUp
in interfaceLinkContext
-
errorUp
public void errorUp(Object message)
- Specified by:
errorUp
in interfaceLinkContext
-
failUp
public void failUp(Object message)
- Specified by:
failUp
in interfaceLinkContext
-
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.
-
-