TypeCache

The type cache is used to share cached type definitions between sessions.

Under normal circumstances, an application programmer does not use the methods of this class directly, but assigns a cache object to a session instead:

		session2.typeCache = session1.typeCache
	
Important note: Please use caution when sharing caches between connections to different systems, since RFC Connector does not check if the cached type is the same in the other system, so if the types differ in detail, transmission errors may occur.

Methods

Method GetType

Parameter Type Description
name string name of the type to retrieve
Return Value RfcType cached type

Retrieve a type from the cache

Method AddType

Parameter Type Description
name string name of the type
type RfcType type to add to cache

Retrieve a type from the cache

Method Clear

Remove all cached types