Bases: object
Class to manage SeedLinkConnection state.
Variables: |
|
---|
Attributes
BUFSIZE | int(x=0) -> int or long |
INFO_QUERY | int(x=0) -> int or long |
KEEP_ALIVE_QUERY | int(x=0) -> int or long |
NO_QUERY | int(x=0) -> int or long |
SL_DATA | int(x=0) -> int or long |
SL_DOWN | int(x=0) -> int or long |
SL_UP | int(x=0) -> int or long |
__dict__ | |
__doc__ | str(object=’‘) -> string |
__module__ | str(object=’‘) -> string |
__weakref__ | list of weak references to the object (if defined) |
databuf | bytearray(iterable_of_ints) -> bytearray. |
expect_info | bool(x) -> bool |
keepalive_time | float(x) -> floating point number |
keepalive_trig | int(x=0) -> int or long |
netdly_time | float(x) -> floating point number |
netdly_trig | int(x=0) -> int or long |
netto_time | float(x) -> floating point number |
netto_trig | int(x=0) -> int or long |
packed_buf | bytearray(iterable_of_ints) -> bytearray. |
previous_time | float(x) -> floating point number |
query_mode | int(x=0) -> int or long |
recptr | int(x=0) -> int or long |
sendptr | int(x=0) -> int or long |
state | int(x=0) -> int or long |
Public Methods
appendBytes | Appends bytes to the receive buffer after the last received data. |
bytesRemaining | Return number of bytes remaining in receiving buffer. |
getPacket | Returns last received packet. |
incrementSendPointer | Increments the send pointer by size of one packet. |
isEnd | Check for SeedLink END packet. |
isError | Check for SeedLink ERROR packet. |
packDataBuffer | Packs the buffer by removing all sent packets and shifting remaining |
packetAvailable | Check for full packet available to send. |
packetIsInfo | Check for SeedLink INFO packet. |
Special Methods
__init__ |