C# (CSharp) Fan.Sys Namespace

Classes

Name Description
Actor Actor is a worker who processes messages asynchronously.
Actor.CoalescingQueue
Actor.Context
Actor.Queue
ActorPool Controller for a group of actors which manages their execution.
ActorPool.ScheduledWork
ArgErr ArgErr
BigDecimal
Boolean
BootEnv
Buf Buf
CancelledErr Cancelled.
CastErr CastErr
Charset Charset.
Charset.Decoder Decoder is used to decode bytes to characters.
Charset.DefaultDecoder
Charset.DefaultEncoder DefaultEncoder.
Charset.Encoder Encoder is used to encode characters to bytes.
Charset.Iso8859Charset
Charset.Iso8859Decoder
Charset.Iso8859Encoder
Charset.Utf16BECharset
Charset.Utf16BEDecoder
Charset.Utf16BEEncoder
Charset.Utf16LECharset
Charset.Utf16LEDecoder
Charset.Utf16LEEncoder
Charset.Utf8Charset
Charset.Utf8Decoder
Charset.Utf8Encoder
ClassType ClassType models a static type definition for an Obj class: 1) Hollow: in this state we know basic identity of the type, and it's inheritance hierarchy. A type is setup to be hollow during Pod.load(). 2) Reflected: in this state we read all the slot definitions from the fcode to populate the slot tables used to for reflection. At this point clients can discover the signatures of the Type. 3) Emitted: the final state of loading a Type is to emit to a .NET class called "Fan.{pod}.{type}". Once emitted we can instantiate the type or call it's methods. 4) Finished: once we have reflected the slots into memory and emitted the .NET class, the last stage is to bind the all the System.Reflection representations to the Slots for dynamic dispatch. We delay this until needed by Method or Field for a reflection invocation
ConstErr ConstErr
DateTime DateTime represents an absolute instance in time.
DateTimeStr DateTimeStr is used to format/parse DateTime, Date, and Time using the standard pattern syntax.
Depend Depend.
Depend.Constraint
Depend.Parser
Deprecated
Double
Duration Duration
Duration.IsoParser
Endian Endian.
Enum Enum base class.
Env
Err Err.
Err.Val
FacetMeta
Facets Facets manages facet meta-data as a string:Obj map.
FanBool Fanbool defines the methods for sys::Bool. The actual class used for representation is System.Boolean.
FanDecimal FanDecimal defines the methods for Fan.Sys.BigDecimal. The actual class used for representation is Fan.Sys.BigDecimal
FanFloat FanDouble defines the methods for sys::Float. The actual class used for representation is System.Double.
FanInt FanInt defines the methods for sys::Int. The actual class used for representation is Fan.Sys.Int.
FanNum FanNum defines the methods for sys::Num. The actual class used for representation is Fan.Sys.Number.
FanObj
FanScheme FanScheme
FanStr FanStr defines the methods for sys::string. The actual class used for representation is F.lang.String.
Field Field is a slot which "stores" a value.
Field.SetFunc
FieldNotSetErr FieldNotSetErr
File
FileBuf FileBuf returned from File.open.
FileBuf.FileBufInStream
FileBuf.FileBufOutStream
FileScheme FileScheme
Func Func models an executable subroutine.
Func.BindFunc
Func.Indirect Indirect is the base class for the IndirectX classes, which are used as the common base classes for closures and general purpose functions. An Indirect method takes a funcType for it's type, and also extends Func for the callList() implementations.
Func.Indirect0
Func.Indirect1
Func.Indirect2
Func.Indirect3
Func.Indirect4
Func.Indirect5
Func.Indirect6
Func.Indirect7
Func.Indirect8
Func.IndirectX
Func.Wrapper
FuncType FuncType is a parameterized type for Funcs.
Future Future is used to manage the entire lifecycle of each message send to an Actor. An actor's queue is a linked list of messages.
Future.WhenDone
GenericType GenericType is the base class for ListType, MapType, and MethodType which all support parameterization of the generic parameter types (such as A-H, V, K). Instances of GenericType are used to represent generic instances (for example an instance of ListType is used to represent string[]).
IOErr IOErr.
InStream InStream interface.
IndexErr IndexErr.
InterruptedErr InterruptedErr
Js
List List.
List.Comparer
List.DefaultComparer
List.DefaultReverseComparer
List.ReverseComparer
ListType ListType is the GenericType for Lists: Foo[] -> V = Foo
LocalFile LocalFile represents a file or directory in the local file system.
LocalFile.LocalFileOutStream
Locale Locale.
Log Log provides a simple, but standardized mechanism for logging.
LogLevel LogLevel provides a set of discrete levels used to customize logging.
LogRec LogRec.
Long
Map Map is a hashm_map of key value pairs.
Map.CIEqualityComparer
MapType MapType is the GenericType for Maps: Foo:Bar -> K = Foo, V = Bar.
MemBuf MemBuf.
MemBuf.MemBufInStream
MemBuf.MemBufOutStream
Method Method is an invocable operation on a Type.
Method.MethodFunc
MimeType MimeType represents the parsed value of a Content-Type header per RFC 2045 section 5.1.
MmapBuf MmapBuf returned from File.mmap
Month Month.
NameErr NameErr
NoDoc
NotImmutableErr NotImmutableErr
NullErr NullErr.
NullableType NullableType wraps a type as nullable with trailing "?".
NumDigits
NumPattern
Number
Operator
OutStream OutStream.
Param Param represents one parameter definition of a Func (or Method).
ParseErr ParseErr.
Pod Pod is a module containing Types. A Pod is always backed by a FPod instance which defines all the definition tables. Usually the FPod is in turn backed by a FStore for the pod's zip file. However in the case of memory-only pods defined by the compiler, the fpod.store field will be null. Pods is loaded as soon as it is constructed: 1) All the types defined by the fpod are mapped into hollow Types. 2) It is emitted as a Java class called "fan.{podName}.$Pod". The emitted class is basically a manifestation of the literal tables, after which we can clear the fpod data structures.
Process Process
Range Range.
ReadonlyErr ReadonlyErr.
Regex Regex
RegexMatcher RegexMatcher
Serializable
Service_ Service mixin implementation methods.
Service_.Node Value for byType map
Service_.State Value for byService map
Slot Slot models a member field or method of a Type.
StrBuf StrBuf mutable random-access sequence of integer characters.
StrBufOutStream StrBufOutStream.
StrBufOutStream.StrBufEncoder
StrInStream StrInStream.
Sys
SysInStream SysInStream.
SysInStream.DotnetInputStream
SysInStream.PushbackStream
SysOutStream SysOutStream.
SysOutStream.DotnetOutputStream
SysProps SysProps serves the role of Java's System.properties.
Test Test is the base class of unit tests.
TestErr TestErr
This This represents a method return type which is always "this type".
Time Time represents a time of day independent of a specific date or timezone.
TimeZone TimeZone.
TimeZone.DstTime
TimeZone.Rule
TimeoutErr TimeoutErr.
Transient
Type Type models a static type definition for an Obj class. A Type lifecycle: 1) Hollow: in this state we know basic identity of the type, and it's inheritance hierarchy. A type is setup to be hollow during Pod.load(). 2) Reflected: in this state we read all the slot definitions from the fcode to populate the slot tables used to for reflection. At this point clients can discover the signatures of the Type. 3) Emitted: the final state of loading a Type is to emit to a Java class called "fan.{pod}.{type}". Once emitted we can instantiate the type or call it's methods. 4) Finished: once we have reflected the slots into memory and emitted the Java class, the last stage is to bind the all the java.lang.reflect representations to the Slots for dynamic dispatch. We delay this until needed by Method or Field for a reflection invocation Type models sys::Type. Implementation classes are: - ClassType - GenericType (ListType, MapType, FuncType) - NullableType
Unit Unit.
Unit.Combo
Unit.Dimension
UnknownFacetErr UnknownFacetErr
UnknownKeyErr UnknownKeyErr
UnknownPodErr UnknownPodErr
UnknownServiceErr UnknownServiceErr
UnknownSlotErr UnknownSlotErr
UnresolvedErr UnresolvedErr
Unsafe Unsafe
UnsupportedErr UnsupportedErr
Uri Uri is used to immutably represent a Universal Resource Identifier.
Uri.Decoder
Uri.Encoder
Uri.Sections
UriScheme UriScheme
Uuid Uuid.
Uuid.Factory
Version Version.
Void Void is the absence of a type.
Weekday Weekday.
Zip Zip.
Zip.ZipSysOutStream
ZipEntryFile ZipEntryFile represents a file entry inside a zip file.
ZipEntryFile.ZipEntryInputStream