obspy.clients.seedlink.slpacket.SLPacket¶
-
class
SLPacket
(data=None, offset=None)[source]¶ Bases:
object
Class to hold and decode a SeedLink packet.
- Variables
TYPE_SLINFT – Packet type is terminated info packet.
TYPE_SLINF – Packet type is non-terminated info packet.
SLTERMINATE – Terminate flag - connection was closed by the server or the termination sequence completed.
SLNOPACKET – No packet flag - indicates no data available.
SLERROR – Error flag - indicates server reported an error.
SLHEADSIZE – SeedLink packet header size.
SLRECSIZE – Mini-SEED record size.
SIGNATURE – SeedLink header signature.
INFOSIGNATURE – SeedLink INFO packet signature.
ERRORSIGNATURE – SeedLink ERROR signature.
ENDSIGNATURE – SeedLink END signature.
slhead – The SeedLink header.
msrecord – The MiniSEED record.
Attributes
ENDSIGNATURE
ERRORSIGNATURE
INFOSIGNATURE
SIGNATURE
SLERROR
SLHEADSIZE
SLNOPACKET
SLRECSIZE
SLTERMINATE
TYPE_SLINF
TYPE_SLINFT
__dict__
__doc__
__module__
__weakref__
list of weak references to the object (if defined)
Public Methods
Get the MiniSEED payload, parsed as string.
Special Methods
Default dir() implementation.
Default object formatter.
Initialize self.
This method is called when a class is subclassed.
Create and return a new object.
Helper for pickle.
Helper for pickle.
Size of object in memory, in bytes.
Abstract classes can override this to customize issubclass().