<private> new csEntry(element, data)
Default EntryClass for ContentStore
Parameters:
Name | Type | Description |
---|---|---|
element |
Buffer | the raw data packet. |
data |
Data | the ndn.Data object |
- Source:
Members
-
<static> type
-
- Source:
Properties:
Name Type Description type
String a type string describing the type of entry
Methods
-
<private> getElement(callback) → {Buffer}
-
sync/async getter for the element
Parameters:
Name Type Description callback
function Recieves element as only argument - Source:
Returns:
element the raw data packet- Type
- Buffer
-
<private> stale(node) → {csEntry}
-
Parameters:
Name Type Description node
NameTreeNode the node to remove this entry from - Source:
Returns:
entry the csEntry in case you want to do something other than throw it away- Type
- csEntry