Major update: Refactor to rename ContentName to Name. Delete KeyName.js. For the moment, the KeyName class is now in KeyLocator.js.
This is done according to the API notes:
http://sea.remap.ucla.edu:8080/attachments/download/23/lwndn_api-notes_21020830.txt
diff --git a/js/ForwardingEntry.js b/js/ForwardingEntry.js
index 4f04478..f0314d7 100644
--- a/js/ForwardingEntry.js
+++ b/js/ForwardingEntry.js
@@ -6,7 +6,7 @@
var ForwardingEntry = function ForwardingEntry(
//ActionType
_action,
- //ContentName
+ //Name
_prefixName,
//PublisherPublicKeyDigest
_ccndId,
@@ -21,7 +21,7 @@
//String
this.action = _action;
- //ContentName\
+ //Name\
this.prefixName = _prefixName;
//PublisherPublicKeyDigest
this.ccndID = _ccndId;
@@ -44,7 +44,7 @@
this.action = decoder.readUTF8Element(CCNProtocolDTags.Action);
}
if (decoder.peekStartElement(CCNProtocolDTags.Name)) {
- this.prefixName = new ContentName();
+ this.prefixName = new Name();
this.prefixName.from_ccnb(decoder) ;
}
if (decoder.peekStartElement(CCNProtocolDTags.PublisherPublicKeyDigest)) {