net.sf.asyncobjects.vats
Interface VatFactory

All Known Subinterfaces:
ThreadBasedRunner
All Known Implementing Classes:
ExecutorRunner, NIOSelectorRunner, SingleThreadIdleRunner, SingleThreadRunner, VatQueueRunner, VatRunner

public interface VatFactory

This interface is for factory that creates vats. The vats are usually already attached to some runner.

Author:
const

Method Summary
 Vat newVat()
          Create default vat for this runner.
 Vat newVat(String name)
          Create default vat for this runner
 

Method Detail

newVat

Vat newVat(String name)
Create default vat for this runner

Parameters:
name - a vat name
Returns:
a vat

newVat

Vat newVat()
Create default vat for this runner. It passes null as to name of the vat causing default name generation.

Returns:
a vat


Copyright 2002-2007 Constantine Plotnikov. All Rights Reserved.