public static class LSL.ContinuousResolver
extends java.lang.Object
Constructor and Description |
---|
LSL.ContinuousResolver() |
LSL.ContinuousResolver(double forget_after)
Construct a new continuous_resolver that resolves all streams on the network.
|
LSL.ContinuousResolver(java.lang.String pred) |
LSL.ContinuousResolver(java.lang.String pred,
double forget_after)
Construct a new continuous_resolver that resolves all streams that match a given XPath 1.0 predicate.
|
LSL.ContinuousResolver(java.lang.String prop,
java.lang.String value) |
LSL.ContinuousResolver(java.lang.String prop,
java.lang.String value,
double forget_after)
Construct a new continuous_resolver that resolves all streams with a specific value for a given property.
|
Modifier and Type | Method and Description |
---|---|
LSL.StreamInfo[] |
results()
Obtain the set of currently present streams on the network (i.e.
|
public LSL.ContinuousResolver(double forget_after)
forget_after
- When a stream is no longer visible on the network (e.g., because it was shut down),
this is the time in seconds after which it is no longer reported by the resolver.public LSL.ContinuousResolver()
public LSL.ContinuousResolver(java.lang.String prop, java.lang.String value, double forget_after)
prop
- The stream_info property that should have a specific value (e.g., "name", "type", "source_id", or "desc/manufaturer").value
- The String value that the property should have (e.g., "EEG" as the type property).forget_after
- When a stream is no longer visible on the network (e.g., because it was shut down),
this is the time in seconds after which it is no longer reported by the resolver.public LSL.ContinuousResolver(java.lang.String prop, java.lang.String value)
public LSL.ContinuousResolver(java.lang.String pred, double forget_after)
pred
- The predicate String, e.g. "name='BioSemi'" or "type='EEG' and starts-with(name,'BioSemi') and count(info/desc/channel)=32"forget_after
- When a stream is no longer visible on the network (e.g., because it was shut down),
this is the time in seconds after which it is no longer reported by the resolver.public LSL.ContinuousResolver(java.lang.String pred)
public LSL.StreamInfo[] results()