- java.lang.Object
-
- swim.runtime.AbstractSwimRef
-
- swim.runtime.AbstractTierBinding
-
- swim.remote.RemoteHost
-
- swim.remote.RemoteHostClient
-
- All Implemented Interfaces:
swim.api.downlink.DownlinkFactory,swim.api.ref.SwimRef,swim.io.warp.WarpSocket,swim.runtime.CellBinding,swim.runtime.CellContext,swim.runtime.HostBinding,swim.runtime.TierBinding,swim.store.StoreBinding,swim.store.StoreContext,swim.util.Log
public class RemoteHostClient extends RemoteHost
-
-
Field Summary
-
Fields inherited from class swim.remote.RemoteHost
hostContext, warpSocketContext
-
Fields inherited from class swim.runtime.AbstractTierBinding
CLOSED_PHASE, CLOSED_STATE, CLOSING_STATE, FAILED_STATE, FAILING_STATE, LOADED_PHASE, LOADED_STATE, LOADING_STATE, OPENED_PHASE, OPENED_STATE, OPENING_STATE, PHASE_MASK, PHASE_SHIFT, RECOVERING_STATE, STARTED_PHASE, STARTED_STATE, STARTING_STATE, STATE_MASK, status, STATUS, STOPPING_STATE, UNLOADING_STATE
-
-
Constructor Summary
Constructors Constructor Description RemoteHostClient(swim.uri.Uri baseUri, swim.io.http.HttpEndpoint endpoint)RemoteHostClient(swim.uri.Uri baseUri, swim.io.http.HttpEndpoint endpoint, swim.io.warp.WarpSettings warpSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconnect()voiddidConnect()protected voidreconnect()voidsetHostContext(swim.runtime.HostContext hostContext)-
Methods inherited from class swim.remote.RemoteHost
bindDownlink, cipherSuite, closeData, closeDownlink, closeDownlinks, closeUplinks, connectUplinks, data, dataBindings, debug, didBecome, didBecomeMaster, didBecomeSlave, didDisconnect, didFail, didLoad, didOpen, didRead, didRead, didSecure, didStart, didStop, didTimeout, didUnload, didUpgrade, didWrite, didWrite, disconnectUplinks, doRead, doWrite, error, forbid, getNode, getNodes, hostContext, hostUri, httpDownlink, httpUplink, idleTimeout, info, injectListData, injectMapData, injectSpatialData, injectValueData, isConnected, isMaster, isPrimary, isRemote, isReplica, isSecure, isSlave, localAddress, localCertificates, localIdentity, localPrincipal, meshUri, onAuthedResponse, onAuthRequest, onCommandMessage, onDeauthedResponse, onDeauthRequest, onEventMessage, onLinkedResponse, onLinkRequest, onSyncedResponse, onSyncRequest, onUnknownEnvelope, onUnlinkedResponse, onUnlinkRequest, openDownlink, openListData, openMapData, openNode, openNode, openSpatialData, openUplink, openValueData, partKey, policy, pushDown, pushUp, remoteAddress, remoteCertificates, remoteIdentity, remotePrincipal, resolve, routeDownlink, routeUplink, schedule, securityProtocol, setPrimary, setReplica, setWarpSocketContext, stage, tierContext, trace, unwrapHost, warn, warpSocketContext, willBecome, willClose, willConnect, willLoad, willOpen, willSecure, willStart, willStop, willUnload
-
Methods inherited from class swim.runtime.AbstractTierBinding
activate, close, didClose, isClosed, isLoaded, isOpened, isStarted, load, open, start, stop, unload
-
Methods inherited from class swim.runtime.AbstractSwimRef
command, command, command, command, command, command, command, command, downlink, downlinkHttp, downlinkList, downlinkMap, downlinkValue, hostRef, hostRef, laneRef, laneRef, laneRef, laneRef, nodeRef, nodeRef, nodeRef, nodeRef
-
-
-
-
Method Detail
-
setHostContext
public void setHostContext(swim.runtime.HostContext hostContext)
- Specified by:
setHostContextin interfaceswim.runtime.HostBinding- Overrides:
setHostContextin classRemoteHost
-
connect
public void connect()
-
reconnect
protected void reconnect()
- Overrides:
reconnectin classRemoteHost
-
didConnect
public void didConnect()
- Specified by:
didConnectin interfaceswim.io.warp.WarpSocket- Overrides:
didConnectin classRemoteHost
-
-