java.lang.Object
swim.api.plane.AbstractPlane
- All Implemented Interfaces:
DownlinkFactory
,Plane
,WarpRef
,Log
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAgentRoute
(String routeName, String pattern, AgentRoute<?> agentRoute) void
addAgentRoute
(String routeName, UriPattern pattern, AgentRoute<?> agentRoute) void
close()
void
final void
void
final void
command
(String hostUri, String nodeUri, String laneUri, float prio, Value body, Cont<CommandMessage> cont) void
final void
void
final void
void
final void
void
final void
void
final void
void
final void
<A extends Agent>
AgentRoute<A>createAgentRoute
(Class<? extends A> agentClass) void
Logs a debug-level message.void
didClose()
void
void
didStart()
void
didStop()
downlink()
<V> HttpDownlink<V>
<I,
O> WsDownlink<I, O> void
Logs an error-level message.void
Logs an fail-level message.AgentFactory<?>
getAgentFactory
(Uri nodeUri) <A extends Agent>
AgentRoute<A>getAgentRoute
(String routeName) void
Logs an info-level message.void
removeAgentRoute
(String routeName) schedule()
stage()
void
Logs a trace-level message.void
Logs a warn-level message.void
void
void
willStop()
-
Field Details
-
context
-
-
Constructor Details
-
AbstractPlane
-
AbstractPlane
public AbstractPlane()
-
-
Method Details
-
planeContext
- Specified by:
planeContext
in interfacePlane
-
schedule
-
stage
-
createAgentRoute
-
getAgentRoute
-
addAgentRoute
-
addAgentRoute
-
removeAgentRoute
-
getAgentFactory
-
downlink
- Specified by:
downlink
in interfaceDownlinkFactory
-
downlinkList
- Specified by:
downlinkList
in interfaceDownlinkFactory
-
downlinkMap
- Specified by:
downlinkMap
in interfaceDownlinkFactory
-
downlinkValue
- Specified by:
downlinkValue
in interfaceDownlinkFactory
-
downlinkHttp
- Specified by:
downlinkHttp
in interfaceDownlinkFactory
-
downlinkWs
- Specified by:
downlinkWs
in interfaceDownlinkFactory
-
hostRef
-
hostRef
-
nodeRef
-
nodeRef
-
nodeRef
-
nodeRef
-
laneRef
-
laneRef
-
laneRef
-
laneRef
-
command
-
command
-
command
-
command
-
command
public final void command(Uri nodeUri, Uri laneUri, float prio, Value body, Cont<CommandMessage> cont) -
command
public final void command(String nodeUri, String laneUri, float prio, Value body, Cont<CommandMessage> cont) -
command
-
command
-
command
-
command
-
command
-
command
-
command
-
command
-
command
-
command
-
trace
Description copied from interface:Log
Logs a trace-level message. -
debug
Description copied from interface:Log
Logs a debug-level message. -
info
Description copied from interface:Log
Logs an info-level message. -
warn
Description copied from interface:Log
Logs a warn-level message. -
error
Description copied from interface:Log
Logs an error-level message. -
fail
Description copied from interface:Log
Logs an fail-level message. -
close
public void close() -
willStart
public void willStart() -
didStart
public void didStart() -
willStop
public void willStop() -
didStop
public void didStop() -
willClose
public void willClose() -
didClose
public void didClose() -
didFail
-