@Strategy(access=FIELD) public class RemoteMessage extends Object
Constructor and Description |
---|
RemoteMessage()
Create an empty remote message.
|
RemoteMessage(QName domain,
QName service)
Create a remote message for the specified domain and service.
|
Modifier and Type | Method and Description |
---|---|
Object |
getContent()
Returns the content for the invocation.
|
Context |
getContext()
Returns the context properties for the invocation.
|
QName |
getDomain()
Returns the name of the domain for the invocation.
|
String |
getOperation()
Returns the operation being invoked.
|
QName |
getService()
Returns the service name for the invocation.
|
boolean |
isFault()
Indicates whether this remote message represents a fault.
|
RemoteMessage |
setContent(Object content)
Specifies the content for the invocation.
|
RemoteMessage |
setDomain(QName domain)
Specifies the name of the domain for the invocation.
|
RemoteMessage |
setFault(boolean isFault)
Specifies whether this remote message represents a fault.
|
RemoteMessage |
setOperation(String operation)
Specifies the name of the operation being invoked.
|
RemoteMessage |
setService(QName service)
Specifies the name of the service being invoked.
|
public Context getContext()
public Object getContent()
public RemoteMessage setContent(Object content)
content
- message contentpublic QName getService()
public RemoteMessage setService(QName service)
service
- service namepublic QName getDomain()
public RemoteMessage setDomain(QName domain)
domain
- domain namepublic String getOperation()
public RemoteMessage setOperation(String operation)
operation
- operation namepublic RemoteMessage setFault(boolean isFault)
isFault
- true if this is a fault, false otherwisepublic boolean isFault()
Copyright © 2013–2017 JBoss by Red Hat. All rights reserved.