|
PreCache NetInjector Documentation Center : PreCache NetInjector Application Development Common Cases, Subscription Java |
|
|
|
Retrieving predefined attributes retrieving predefined attributes of various types The subscriber class definition for the first tutorial included a single predefined attribute, Message: message = n.getPredefinedAttrString("Message"); The new subscriber class definition includes three more predefined attributes: UserName, Age, and Gender: username = n.getPredefinedAttrString("UserName"); age = n.getPredefinedAttrLong("Age"); gender = n.getPredefinedAttrChar("Gender"); In the first part of this tutorial, Common Cases, Publication Java, we set the values for these predefined attributes. |
|