Class ShhMessages.SshMessage
- java.lang.Object
-
- org.web3j.protocol.core.methods.response.ShhMessages.SshMessage
-
- Enclosing class:
- ShhMessages
public static class ShhMessages.SshMessage extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SshMessage()
SshMessage(java.lang.String hash, java.lang.String from, java.lang.String to, java.lang.String expiry, java.lang.String ttl, java.lang.String sent, java.util.List<java.lang.String> topics, java.lang.String payload, java.lang.String workProved)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.math.BigInteger
getExpiry()
java.lang.String
getExpiryRaw()
java.lang.String
getFrom()
java.lang.String
getHash()
java.lang.String
getPayload()
java.math.BigInteger
getSent()
java.lang.String
getSentRaw()
java.lang.String
getTo()
java.util.List<java.lang.String>
getTopics()
java.math.BigInteger
getTtl()
java.lang.String
getTtlRaw()
java.math.BigInteger
getWorkProved()
java.lang.String
getWorkProvedRaw()
int
hashCode()
void
setExpiry(java.lang.String expiry)
void
setFrom(java.lang.String from)
void
setHash(java.lang.String hash)
void
setPayload(java.lang.String payload)
void
setSent(java.lang.String sent)
void
setTo(java.lang.String to)
void
setTopics(java.util.List<java.lang.String> topics)
void
setTtl(java.lang.String ttl)
void
setWorkProved(java.lang.String workProved)
-
-
-
Constructor Detail
-
SshMessage
public SshMessage()
-
SshMessage
public SshMessage(java.lang.String hash, java.lang.String from, java.lang.String to, java.lang.String expiry, java.lang.String ttl, java.lang.String sent, java.util.List<java.lang.String> topics, java.lang.String payload, java.lang.String workProved)
-
-
Method Detail
-
getHash
public java.lang.String getHash()
-
setHash
public void setHash(java.lang.String hash)
-
getFrom
public java.lang.String getFrom()
-
setFrom
public void setFrom(java.lang.String from)
-
getTo
public java.lang.String getTo()
-
setTo
public void setTo(java.lang.String to)
-
getExpiry
public java.math.BigInteger getExpiry()
-
getExpiryRaw
public java.lang.String getExpiryRaw()
-
setExpiry
public void setExpiry(java.lang.String expiry)
-
getTtl
public java.math.BigInteger getTtl()
-
getTtlRaw
public java.lang.String getTtlRaw()
-
setTtl
public void setTtl(java.lang.String ttl)
-
getSent
public java.math.BigInteger getSent()
-
getSentRaw
public java.lang.String getSentRaw()
-
setSent
public void setSent(java.lang.String sent)
-
getTopics
public java.util.List<java.lang.String> getTopics()
-
setTopics
public void setTopics(java.util.List<java.lang.String> topics)
-
getPayload
public java.lang.String getPayload()
-
setPayload
public void setPayload(java.lang.String payload)
-
getWorkProved
public java.math.BigInteger getWorkProved()
-
getWorkProvedRaw
public java.lang.String getWorkProvedRaw()
-
setWorkProved
public void setWorkProved(java.lang.String workProved)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-