Class ComResponse
- java.lang.Object
-
- us.ajg0702.queue.api.communication.ComResponse
-
public class ComResponse extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComResponse
from(java.lang.String from)
static ComResponse
from(java.lang.String from, com.google.common.io.ByteArrayDataInput in)
java.lang.String
getFrom()
java.lang.String
getIdentifier()
java.lang.String
getNoneMessage()
java.lang.String
getResponse()
ComResponse
id(java.lang.String id)
ComResponse
id(java.util.UUID id)
ComResponse
noneMessage(java.lang.String message)
java.lang.String
toString()
ComResponse
with(boolean response)
ComResponse
with(java.lang.Integer response)
ComResponse
with(java.lang.String response)
-
-
-
Method Detail
-
from
public static ComResponse from(java.lang.String from)
-
from
public static ComResponse from(java.lang.String from, com.google.common.io.ByteArrayDataInput in)
-
id
public ComResponse id(java.lang.String id)
-
id
public ComResponse id(java.util.UUID id)
-
with
public ComResponse with(java.lang.String response)
-
with
public ComResponse with(boolean response)
-
with
public ComResponse with(java.lang.Integer response)
-
noneMessage
public ComResponse noneMessage(java.lang.String message)
-
getIdentifier
public java.lang.String getIdentifier()
-
getFrom
public java.lang.String getFrom()
-
getNoneMessage
public java.lang.String getNoneMessage()
-
getResponse
public java.lang.String getResponse()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-