com.griaule.grFinger
Class Context
java.lang.Object
com.griaule.grFinger.Context
public class Context
- extends Object
Contexts are used to allow operations in the GrFinger library to be executed
simultaneously. Two operations should not be called simultaneously in the same
context because they are not guaranteed to be thread-safe. Creating a new
context for each operation that will be executed simultaneously will
guarantee that they will be thread-safe. Also each context has its own
parameters. So, contexts can be used to allow different situations to use
different configuration parameters.
DEFAULT_CONTEXT
public static final Context DEFAULT_CONTEXT
- The default context identification.
GR_NO_CONTEXT
public static final Context GR_NO_CONTEXT
- The no context identification.
Context
public Context(GrFinger grFinger)
throws GrErrorException
- Creates a new context.
- Parameters:
grFinger
- instance of GrFinger.
- Throws:
GrErrorException