Class VirtualMachineFactory
java.lang.Object
org.geysermc.conduit.VirtualMachineFactory
Creates a
VirtualMachine over a ConduitContext.-
Method Summary
Modifier and TypeMethodDescriptionawait()Returns the machine, ready to have handlers registered.Returns the machine as an already completed future.static VirtualMachineFactorycreate(ConduitContext context) Creates a factory for a machine that scans the given context.
-
Method Details
-
await
Returns the machine, ready to have handlers registered.- Returns:
- the machine
-
awaitUninterruptibly
Returns the machine as an already completed future.- Returns:
- a future completing with the machine
-
create
Creates a factory for a machine that scans the given context.- Parameters:
context- the jars to scan- Returns:
- a factory for a machine over the context
-