API Documentation for: 0.11.8
Show:

platypus.Data Class

Defined in: platypus.Data:1
Module: platypus

Available since 0.7.1

This class defines a generic data object to use for messaging. It includes recycle methods to encourage reuse.

Constructor

platypus.Data

() Data

Defined in platypus.Data:1

Available since 0.7.1

Returns:

Data:

Returns the new Data object.

Item Index

Methods

Data.recycle

(
  • The
)

Defined in Data.recycle:46

Available since 0.7.1

Returns Data back to the cache. Prefer the Data's recycle method since it recycles property objects as well.

Parameters:

Data.setUp

() platypus.Data

Defined in Data.setUp:39

Available since 0.7.1

Returns Data from cache or creates a new one if none are available.

Returns:

platypus.Data:

The instantiated Data.

recycle

()

Defined in recycle:53

Available since 0.7.1

Relinquishes Data properties and recycles it.