Package net.i2p.router.transport.udp
Class UDPPacketReader.SessionCreatedReader
java.lang.Object
net.i2p.router.transport.udp.UDPPacketReader.Reader
net.i2p.router.transport.udp.UDPPacketReader.SessionCreatedReader
- Enclosing class:
- UDPPacketReader
Help read the SessionCreated payload
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidreadEncryptedSignature(byte[] target, int targetOffset, int size) voidreadIP(byte[] target, int targetOffset) what IP do they think we are coming on?intsizeof(IP)voidreadIV(byte[] target, int targetOffset) intreadPort()what port do they think we are coming from?longread in the 4 byte relayAs taglongvoidreadY(byte[] target, int targetOffset) Methods inherited from class net.i2p.router.transport.udp.UDPPacketReader.ReaderreadExtendedOptions
- 
Field Details- 
Y_LENGTHpublic static final int Y_LENGTH- See Also:
 
 
- 
- 
Constructor Details- 
SessionCreatedReaderpublic SessionCreatedReader()
 
- 
- 
Method Details- 
readYpublic void readY(byte[] target, int targetOffset) 
- 
readIPSizepublic int readIPSize()sizeof(IP)
- 
readIPpublic void readIP(byte[] target, int targetOffset) what IP do they think we are coming on?
- 
readPortpublic int readPort()what port do they think we are coming from?
- 
readRelayTagpublic long readRelayTag()read in the 4 byte relayAs tag
- 
readSignedOnTimepublic long readSignedOnTime()
- 
readEncryptedSignaturepublic void readEncryptedSignature(byte[] target, int targetOffset, int size) - Parameters:
- size- the amount to be copied, including padding to mod 16
 
- 
readIVpublic void readIV(byte[] target, int targetOffset) 
 
-