Code Review
/
packetcable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Refactor PCMM aspects of COPS message data objects.
[packetcable.git]
/
packetcable-driver
/
src
/
main
/
java
/
org
/
pcmm
/
gates
/
IAMID.java
diff --git
a/packetcable-driver/src/main/java/org/pcmm/gates/IAMID.java
b/packetcable-driver/src/main/java/org/pcmm/gates/IAMID.java
index 71e8116e738a74da3c081446287baeca43ff5640..6cfb72a1fbf50a5f0785e4cff82b50d81547d050 100644
(file)
--- a/
packetcable-driver/src/main/java/org/pcmm/gates/IAMID.java
+++ b/
packetcable-driver/src/main/java/org/pcmm/gates/IAMID.java
@@
-1,13
+1,17
@@
-/*
*
- @header@
+/*
+ * (c) 2015 Cable Television Laboratories, Inc. All rights reserved.
*/
*/
-
package org.pcmm.gates;
import org.pcmm.base.IPCMMBaseObject;
/**
package org.pcmm.gates;
import org.pcmm.base.IPCMMBaseObject;
/**
+ * Class to hold the Application Manager Identification which is the handle that identifies the Application Manager
+ * and Application Type.
+ *
+ * From the Packetcable Multimedia specification section 6.1.2
+ *
* <p>
* The AMID consists of two fields: the Application Manager Tag and Application
* Type. Each Application Manager is pre-provisioned with an Application Manager
* <p>
* The AMID consists of two fields: the Application Manager Tag and Application
* Type. Each Application Manager is pre-provisioned with an Application Manager
@@
-36,16
+40,18
@@
import org.pcmm.base.IPCMMBaseObject;
*/
public interface IAMID extends IPCMMBaseObject {
*/
public interface IAMID extends IPCMMBaseObject {
- static final short LENGTH = 8;
- static final byte SNUM = 2;
- static final byte STYPE = 1;
-
- void setApplicationType(short type);
+ byte STYPE = 1;
+ /**
+ * Returns the application type value
+ * @return - a short
+ */
short getApplicationType();
short getApplicationType();
- void setApplicationMgrTag(short type);
-
+ /**
+ * Returns the application manager tag value
+ * @return - a short
+ */
short getApplicationMgrTag();
}
short getApplicationMgrTag();
}