2019-01-08 Fred Gleason <fredg@paravelsystems.com>

* Renamed the 'pypad.Receiver::setCallback()' method to
	'pypad.Receiver::setPadCallback()'.
This commit is contained in:
Fred Gleason
2019-01-08 15:38:39 -05:00
parent 087f3b811b
commit 15b8db9164
21 changed files with 27 additions and 24 deletions

View File

@@ -68,7 +68,7 @@ rcvr=pypad.Receiver()
#
# Tell it to use the callback
#
rcvr.setCallback(ProcessPad)
rcvr.setPadCallback(ProcessPad)
#
# Start the receiver, giving it the hostname or IP address and TCP port of

View File

@@ -52,14 +52,14 @@ def ProcessPad(update):
print("%03d:xxxx NEXT: [none]" % update.machine())
#
# Create an instance of 'pypadReceiver'
# Create an instance of 'pypad.Receiver'
#
rcvr=pypad.Receiver()
#
# Tell it to use the callback
#
rcvr.setCallback(ProcessPad)
rcvr.setPadCallback(ProcessPad)
#
# Start the receiver, giving it the hostname or IP address and TCP port of

View File

@@ -141,7 +141,7 @@ rcvr=pypad.Receiver()
#
# Tell it to use the callback
#
rcvr.setCallback(ProcessPad)
rcvr.setPadCallback(ProcessPad)
#
# Start the receiver, giving it the hostname or IP address and TCP port of