Class OpenConnectionQuery
- java.lang.Object
-
- net.timewalker.ffmq4.transport.packet.AbstractPacket
-
- net.timewalker.ffmq4.transport.packet.AbstractQueryPacket
-
- net.timewalker.ffmq4.transport.packet.query.OpenConnectionQuery
-
public final class OpenConnectionQuery extends AbstractQueryPacket
OpenConnectionQuery
-
-
Constructor Summary
Constructors Constructor Description OpenConnectionQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClientID()StringgetPassword()bytegetType()Get the type value for this packetStringgetUserName()protected voidserializeTo(RawDataBuffer out)Write the packet content to the given output streamvoidsetClientID(String clientID)voidsetPassword(String password)voidsetUserName(String userName)StringtoString()protected voidunserializeFrom(RawDataBuffer in)Read the packet content to the given input stream-
Methods inherited from class net.timewalker.ffmq4.transport.packet.AbstractQueryPacket
isResponseExpected
-
Methods inherited from class net.timewalker.ffmq4.transport.packet.AbstractPacket
getEndpointId, setEndpointId
-
-
-
-
Method Detail
-
getType
public byte getType()
Description copied from class:AbstractPacketGet the type value for this packet- Specified by:
getTypein classAbstractPacket
-
serializeTo
protected void serializeTo(RawDataBuffer out)
Description copied from class:AbstractPacketWrite the packet content to the given output stream- Overrides:
serializeToin classAbstractPacket
-
unserializeFrom
protected void unserializeFrom(RawDataBuffer in)
Description copied from class:AbstractPacketRead the packet content to the given input stream- Overrides:
unserializeFromin classAbstractPacket
-
getPassword
public String getPassword()
- Returns:
- the password
-
setPassword
public void setPassword(String password)
- Parameters:
password- the password to set
-
getUserName
public String getUserName()
- Returns:
- the userName
-
setUserName
public void setUserName(String userName)
- Parameters:
userName- the userName to set
-
getClientID
public String getClientID()
- Returns:
- the clientID
-
setClientID
public void setClientID(String clientID)
- Parameters:
clientID- the clientID to set
-
toString
public String toString()
- Overrides:
toStringin classAbstractPacket
-
-