Sha256: 7cb273456904e5358187742265e1f85c49c17b3a740d11f77671263cab9dfc0d

Contents?: true

Size: 370 Bytes

Versions: 5

Compression:

Stored size: 370 Bytes

Contents

def callbackFunc(message_byte_array, message_byte_array_len):
    from javonet.core.receiver.Receiver import Receiver
    python_receiver = Receiver()
    if message_byte_array[10] == 11:
        return python_receiver.HeartBeat(message_byte_array, message_byte_array_len)
    else:
        return python_receiver.SendCommand(message_byte_array, message_byte_array_len)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
javonet-ruby-sdk-2.5.7 lib/javonet-ruby-sdk/Binaries/Python/javonet/core/callback/callbackFunc.py
javonet-ruby-sdk-2.5.6 lib/javonet-ruby-sdk/Binaries/Python/javonet/core/callback/callbackFunc.py
javonet-ruby-sdk-2.5.5 lib/javonet-ruby-sdk/Binaries/Python/javonet/core/callback/callbackFunc.py
javonet-ruby-sdk-2.5.4 lib/javonet-ruby-sdk/Binaries/Python/javonet/core/callback/callbackFunc.py
javonet-ruby-sdk-2.5.3 lib/javonet-ruby-sdk/Binaries/Python/javonet/core/callback/callbackFunc.py