Package de.mid.innovator.net
Class InoTelegram
java.lang.Object
de.mid.innovator.net.InoTelegram
- Direct Known Subclasses:
LicSrvGetUserAddressRequestTelegram,LicSrvUserCheckAuthenticationRequestTelegram,LicSrvUserChkEnvironRightReplyTelegram,LicSrvUserChkEnvironRightRequestTelegram,LicSrvUserChkMdlAdminReplyTelegram,LicSrvUserChkMdlAdminRequestTelegram,LicSrvUserChkRepAdminReplyTelegram,LicSrvUserChkRepAdminRequestTelegram,LicSrvUserChkVersAdminReplyTelegram,LicSrvUserChkVersAdminRequestTelegram,LicSrvUserChkVersMdlAdminRequestTelegram,LicSrvUserCreateLoginRequestTelegram,LicSrvUserGetLoginListRequestTelegram,LicSrvUserGetLoginRequestTelegram,LicSrvUserGetRolesReplyTelegram,LicSrvUserGetRolesRequestTelegram,LicSrvUserGetUserJWTRequestTelegram,LicSrvUserGetUserListRequestTelegram,LicSrvUserGetUserRequestTelegram,LicSrvUserGetVersRolesRequestTelegram,SrvProxyTelegram
This class is the topmost telegram type for all network communication between
Innovator clients and servers. It uses a
DynamicByteBuffer to read data from or write
data to the raw PDU data.- Author:
- borschet
-
Method Summary
Modifier and TypeMethodDescriptionannounceCapacity(long amount) intcapacity()voidclear()booleanvoidflip()get(byte[] dst) bytegetByte()chargetChar()chargetChar(int index) intgetInt()intgetInt(int index) longgetLong()longgetLong(int index) shortgetShort()shortgetShort(int index) longgetSize()inthashCode()longlimit()limit(long newLimit) longposition()position(long newPosition) putByte(byte value) putByte(byte[] value) putChar(char value) putInt(int value) putInt(long l, long lengthPosition) putLong(long l) putLong(long l, long lengthPosition) putShort(short value) intreset()rewind()List<byte[]> toString()
-
Method Details
-
capacity
public int capacity() -
clear
public void clear() -
flip
public void flip() -
getChar
public char getChar() -
getChar
public char getChar(int index) -
getInt
public int getInt() -
getInt
public int getInt(int index) -
getLong
public long getLong() -
getLong
public long getLong(int index) -
getShort
public short getShort() -
getShort
public short getShort(int index) -
getByte
public byte getByte() -
limit
public long limit() -
limit
-
position
public long position() -
position
-
putChar
-
putInt
-
putLong
-
putLong
-
putInt
-
putShort
-
announceCapacity
-
putByte
-
putByte
-
remaining
public int remaining() -
reset
-
rewind
-
toString
-
getSize
public long getSize() -
toArrayList
-
get
-
putString
-
getString
-
hashCode
public int hashCode() -
equals
-