- java.lang.Object
-
- swim.js.JsPlane
-
- All Implemented Interfaces:
Plane
,GuestWrapper
public class JsPlane extends Object implements Plane, GuestWrapper
-
-
Field Summary
Fields Modifier and Type Field Description protected JsBridge
bridge
protected Object
guest
protected JsModule
module
protected PlaneContext
planeContext
-
Constructor Summary
Constructors Constructor Description JsPlane(PlaneContext planeContext, JsBridge bridge, JsModule module, Object guest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsBridge
bridge()
void
didClose()
void
didFail(Throwable error)
void
didStart()
void
didStop()
JsModule
module()
PlaneContext
planeContext()
Object
unwrap()
Returns the guest value that this host object wraps.void
willClose()
void
willStart()
void
willStop()
-
-
-
Field Detail
-
planeContext
protected final PlaneContext planeContext
-
bridge
protected final JsBridge bridge
-
module
protected final JsModule module
-
guest
protected final Object guest
-
-
Constructor Detail
-
JsPlane
public JsPlane(PlaneContext planeContext, JsBridge bridge, JsModule module, Object guest)
-
-
Method Detail
-
planeContext
public final PlaneContext planeContext()
- Specified by:
planeContext
in interfacePlane
-
bridge
public final JsBridge bridge()
-
module
public final JsModule module()
-
unwrap
public final Object unwrap()
Description copied from interface:GuestWrapper
Returns the guest value that this host object wraps.- Specified by:
unwrap
in interfaceGuestWrapper
-
-