Class PTCPPacket
java.lang.Object
ecmwf.common.transport.ptcp.psocket.tools.PTCPPacket
ECMWF Product Data Store (OpenECPDS) Project.
- Since:
- 2024-07-01
- Version:
- 6.7.7
- Author:
- Laurent Gougeon - syi@ecmwf.int, ECMWF.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PTCPPacket
public PTCPPacket(int number, byte[] data) Instantiates a new PTCP packet.- Parameters:
number
- the numberdata
- the data
-
-
Method Details
-
getData
public byte[] getData()Gets the data.- Returns:
- the data
-
getNumber
public int getNumber()Gets the number.- Returns:
- the number
-
getSize
public int getSize()Gets the size.- Returns:
- the size
-
toString
To string.- Parameters:
number
- the numbersize
- the size- Returns:
- the string
-
toString
-