Package pygar.communication
Class Pmessage.PmessageBody
java.lang.Object
pygar.communication.Pmessage.PmessageBody
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Pmessage
public class Pmessage.PmessageBody
extends java.lang.Object
implements java.io.Serializable
The PmessageBody class contains a message body for the Pmessage class.
The message body, if it exists, is found in exactly one of the following
three mutually exclusive fields of the PmessageBody type. The other fields
must then be void. It is possible that all three are void because there is
no message body.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PmessageBody()
-
Method Summary
Modifier and Type Method Description java.lang.String
getFileBodyName()
java.lang.String
getStringBody()
void
setFileBodyName(java.lang.String fileBodyName)
void
setStringBody(java.lang.String stringBody)
-
Constructor Details
-
PmessageBody
public PmessageBody()
-
-
Method Details
-
setStringBody
public void setStringBody(java.lang.String stringBody) -
getStringBody
public java.lang.String getStringBody() -
setFileBodyName
public void setFileBodyName(java.lang.String fileBodyName) -
getFileBodyName
public java.lang.String getFileBodyName()
-