org.universAAL.ri.gateway.communicator.service
Class Message

Package class diagram package Message
java.lang.Object
  extended by org.universAAL.ri.gateway.communicator.service.Message
All Implemented Interfaces:
Serializable

public class Message
extends Object
implements Serializable

This class represents a generic message sent between inside and outside world of AALSpace.

Author:
skallz
See Also:
Serialized Form

Constructor Summary
Message(Object content)
          Initializes with a message to send.
 
Method Summary
 boolean equals(Object obj)
           
 Object getContent()
          Returns content of the message.
 String getRemoteMemberId()
           
 String getRemoteProxyRegistrationId()
           
 int hashCode()
           
 void setRemoteMemberId(String remoteMemberId)
           
 void setRemoteProxyRegistrationId(String remoteProxyRegistrationId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Message

public Message(Object content)
Initializes with a message to send.

Parameters:
content - content of the message
Method Detail

getContent

public Object getContent()
Returns content of the message.

Returns:
content of the message

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getRemoteProxyRegistrationId

public String getRemoteProxyRegistrationId()

setRemoteProxyRegistrationId

public void setRemoteProxyRegistrationId(String remoteProxyRegistrationId)

getRemoteMemberId

public String getRemoteMemberId()

setRemoteMemberId

public void setRemoteMemberId(String remoteMemberId)


Copyright © 2014 universAAL Consortium. All Rights Reserved.