- java.lang.Object
-
- swim.cli.DownlinkLogger
-
- All Implemented Interfaces:
swim.api.downlink.function.DidSync,swim.api.downlink.function.DidUnlink,swim.api.downlink.function.OnEvent<swim.structure.Value>,swim.api.function.DidClose,swim.concurrent.Preemptive
- Direct Known Subclasses:
DownlinkGetter
public class DownlinkLogger extends Object implements swim.api.downlink.function.OnEvent<swim.structure.Value>, swim.api.downlink.function.DidSync, swim.api.downlink.function.DidUnlink, swim.api.function.DidClose
-
-
Constructor Summary
Constructors Constructor Description DownlinkLogger(swim.api.downlink.Downlink downlink, String format)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voiddidClose()voiddidSync()voiddidUnlink()protected voidlog(String string)voidonEvent(swim.structure.Value value)voidopen()
-
-
-
Constructor Detail
-
DownlinkLogger
public DownlinkLogger(swim.api.downlink.Downlink downlink, String format)
-
-
Method Detail
-
open
public void open()
-
close
public void close()
-
log
protected void log(String string)
-
onEvent
public void onEvent(swim.structure.Value value)
- Specified by:
onEventin interfaceswim.api.downlink.function.OnEvent<swim.structure.Value>
-
didSync
public void didSync()
- Specified by:
didSyncin interfaceswim.api.downlink.function.DidSync
-
didUnlink
public void didUnlink()
- Specified by:
didUnlinkin interfaceswim.api.downlink.function.DidUnlink
-
didClose
public void didClose()
- Specified by:
didClosein interfaceswim.api.function.DidClose
-
-