org.openmuc.jsml.structures
Class SML_MessageBody
java.lang.Object
org.openmuc.jsml.structures.ASNObject
org.openmuc.jsml.structures.SML_MessageBody
public class SML_MessageBody
- extends ASNObject
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenRequest
public static final int OpenRequest
- See Also:
- Constant Field Values
OpenResponse
public static final int OpenResponse
- See Also:
- Constant Field Values
CloseRequest
public static final int CloseRequest
- See Also:
- Constant Field Values
CloseResponse
public static final int CloseResponse
- See Also:
- Constant Field Values
GetProfilePackRequest
public static final int GetProfilePackRequest
- See Also:
- Constant Field Values
GetProfilePackResponse
public static final int GetProfilePackResponse
- See Also:
- Constant Field Values
GetProfileListRequest
public static final int GetProfileListRequest
- See Also:
- Constant Field Values
GetProfileListResponse
public static final int GetProfileListResponse
- See Also:
- Constant Field Values
GetProcParameterRequest
public static final int GetProcParameterRequest
- See Also:
- Constant Field Values
GetProcParameterResponse
public static final int GetProcParameterResponse
- See Also:
- Constant Field Values
SetProcParameterRequest
public static final int SetProcParameterRequest
- See Also:
- Constant Field Values
SetProcParameterResponse
public static final int SetProcParameterResponse
- See Also:
- Constant Field Values
GetListRequest
public static final int GetListRequest
- See Also:
- Constant Field Values
GetListResponse
public static final int GetListResponse
- See Also:
- Constant Field Values
AttentionResponse
public static final int AttentionResponse
- See Also:
- Constant Field Values
tag
protected Unsigned32 tag
choice
protected ASNObject choice
SML_MessageBody
public SML_MessageBody(int tag,
ASNObject choice)
SML_MessageBody
public SML_MessageBody()
code
public void code(DataOutputStream os)
throws IOException
- Description copied from class:
ASNObject
- encodes this object and writes it to the stream os.
- Specified by:
code
in class ASNObject
- Throws:
IOException
- if something went wrong while writing to the stream
decode
public boolean decode(DataInputStream is)
throws IOException
- Description copied from class:
ASNObject
- decodes the data from the InputStream and writes it to an object
- Specified by:
decode
in class ASNObject
- Returns:
- true if successfully decoded
- Throws:
IOException
- if something went wrong while reading from the stream
getTag
public Unsigned32 getTag()
getChoice
public ASNObject getChoice()
print
public void print()
- Description copied from class:
ASNObject
- prints the content or type of the object to stdout
- Specified by:
print
in class ASNObject
Copyright © 2011. All Rights Reserved.