I
- the class of the message IDT
- the type of the object that wraps a messageC
- the type of the message contextpublic abstract class AbstractMessageEnvelope<I extends com.google.protobuf.Message,T,C extends com.google.protobuf.Message> extends java.lang.Object implements MessageEnvelope<I,T,C>
MessageEnvelope
.Modifier | Constructor and Description |
---|---|
protected |
AbstractMessageEnvelope(T object) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
T |
outerObject()
Obtains the object which contains the message of interest.
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asMessageOrigin, context, id, message, messageClass
protected AbstractMessageEnvelope(T object)
public T outerObject()
MessageEnvelope
outerObject
in interface MessageEnvelope<I extends com.google.protobuf.Message,T,C extends com.google.protobuf.Message>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object