Package septogeddon.pluginquery.message
Class QueryObject
java.lang.Object
septogeddon.pluginquery.message.QueryObject
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
QueryBroadcastMessage
,QueryDispatchConnect
,QueryDispatchDisconnect
,QueryDispatchSendQuery
,QueryGetActiveConnections
,QuerySendActiveConnections
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends QueryObject>
TfromByteArray
(byte[] bytes) static <T extends QueryObject>
TfromByteArraySafe
(byte[] bytes) byte[]
byte[]
-
Constructor Details
-
QueryObject
public QueryObject()
-
-
Method Details
-
fromByteArraySafe
-
fromByteArray
public static <T extends QueryObject> T fromByteArray(byte[] bytes) throws IOException, ClassNotFoundException - Throws:
IOException
ClassNotFoundException
-
toByteArraySafe
public byte[] toByteArraySafe() -
toByteArray
- Throws:
IOException
-