|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.evtsub.TWGEventSourceDescriptor
Constructor Summary | |
---|---|
TWGEventSourceDescriptor()
|
|
TWGEventSourceDescriptor(IntelByteBuffer buf)
Constructor for interpreting a provided IntelByteBuffer. |
|
TWGEventSourceDescriptor(IntelByteBuffer buf,
int off)
Constructor for interpreting a provided IntelByteBuffer at a given offset. |
|
TWGEventSourceDescriptor(java.lang.String family,
java.lang.String[] qualifiers,
java.lang.String[] pnames,
java.util.Locale locale,
int version)
Constructor. |
|
TWGEventSourceDescriptor(TWGEventSourceDescriptor esd)
Copy Constructor. |
Method Summary | |
---|---|
void |
addDetail(TWGEventSourceDetail detail)
Add a detail. |
TWGEventSourceDetail[] |
getDetails()
Get details. |
java.lang.String |
getFamily()
Get family. |
int |
getFlags()
Get flags. |
java.util.Locale |
getLocale()
Get locale. |
java.lang.String[] |
getPresentationNames()
Get presentation names. |
java.lang.String |
getPresentationType()
Get presentation type. |
java.lang.String[] |
getQualifiers()
Get qualifiers. |
java.lang.String |
getType()
Get type. |
int |
getVersion()
Get version. |
int |
readTWGEventSourceDescriptor(IntelByteBuffer buf,
int off)
Method for interpreting a provided IntelByteBuffer at a given offset. |
int |
sizeOf()
Determine the size of the entire object. |
int |
sizeOfTWGEventSourceDescriptor()
Determine the size of the entire object. |
IntelByteBuffer |
toIntelByteBuffer()
Convert the object into IntelByteBuffer representation. |
java.lang.String |
toString()
Create a string. |
int |
writeIntelByteBuffer(IntelByteBuffer buf)
Write contents of this object into an IntelByteBuffer. |
int |
writeIntelByteBuffer(IntelByteBuffer buf,
int off)
Write object into provided IntelByteBuffer starting at a given offset. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TWGEventSourceDescriptor()
public TWGEventSourceDescriptor(java.lang.String family, java.lang.String[] qualifiers, java.lang.String[] pnames, java.util.Locale locale, int version)
family
- major category of event sourcequalifiers
- language nuetral array of strings describing event sourcepnames
- array of presentation strings mirroring qualifiers of event sourcelocale
- locale of presentation stringsversion
- version associated with data defined in this objectpublic TWGEventSourceDescriptor(TWGEventSourceDescriptor esd)
esd
- event source descriptor to be copiedpublic TWGEventSourceDescriptor(IntelByteBuffer buf)
buf
- IntelByteBuffer from which data should be readpublic TWGEventSourceDescriptor(IntelByteBuffer buf, int off)
buf
- IntelByteBuffer from which data should be readoff
- offset from the current relative start of the provided IntelByteBufferMethod Detail |
public java.lang.String getFamily()
public java.lang.String[] getQualifiers()
public java.lang.String getType()
public java.lang.String getPresentationType()
public java.lang.String[] getPresentationNames()
public int getFlags()
public int getVersion()
public java.util.Locale getLocale()
public TWGEventSourceDetail[] getDetails()
public void addDetail(TWGEventSourceDetail detail)
detail
- TWGEventSourcedetail object to be addedpublic java.lang.String toString()
public int sizeOf()
public int sizeOfTWGEventSourceDescriptor()
public IntelByteBuffer toIntelByteBuffer()
public int writeIntelByteBuffer(IntelByteBuffer buf)
buf
- IntelByteBuffer into which data should be written
public int writeIntelByteBuffer(IntelByteBuffer buf, int off)
buf
- IntelByteBuffer into which data should be writtenoff
- offset from the current relative start of the provided IntelByteBuffer
public int readTWGEventSourceDescriptor(IntelByteBuffer buf, int off)
buf
- IntelByteBuffer from which data should be readoff
- offset from the current relative start of the provided IntelByteBuffer
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |