com.googlecode.mobilityrpc.protocol.pojo
Class Envelope

java.lang.Object
  extended by com.googlecode.mobilityrpc.protocol.pojo.Envelope

public class Envelope
extends Object

Author:
Niall Gallagher

Nested Class Summary
static class Envelope.MessageType
           
 
Constructor Summary
Envelope(Envelope.MessageType messageType, byte[] message)
           
 
Method Summary
 boolean equals(Object o)
           
 byte[] getMessage()
           
 Envelope.MessageType getMessageType()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Envelope

public Envelope(Envelope.MessageType messageType,
                byte[] message)
Method Detail

getMessageType

public Envelope.MessageType getMessageType()

getMessage

public byte[] getMessage()

equals

public boolean equals(Object o)
Overrides:
equals in class Object
Throws:
UnsupportedOperationException - always, as this object is not intended to be compared for equality or used as a key in a hash map.

hashCode

public int hashCode()
Overrides:
hashCode in class Object
Throws:
UnsupportedOperationException - always, as this object is not intended to be compared for equality or used as a key in a hash map.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.