Change 8569

matt_attaway (Matt Attaway)
Matt Attaway committed this change into //guest/matt_attaway/Pulse
Request Review
Download .zip
Rejigger P4Connection to use a standard return type

The previous mechanism made it hard to return anything but error messages. With the P4Message
object we can return dictionaries, lists, and messages with a single object. I can use the new object
more intelligently, but that’s for another change.

I also reorganized the code to separate the ‘p4’ layer off into its own potentially reusable bucket.

No functional change.
  • Files 8
  • Comments 0
2 edited 4 added 2 deleted
Pulse.xcodeproj/project.pbxproj#6
Loading...
Pulse/P4Connection.h#1
Loading...
Pulse/P4Connection.m#1
Loading...
Pulse/P4Message.h#1
Loading...
Pulse/P4Message.m#1
Loading...
Pulse/PLSConnection.h#3
Loading...
Pulse/PLSConnection.m#4
Loading...
Pulse/PLSOverseer.m#14
Loading...
Tip: Use n and p to cycle through the changes.