Wrox Programmer Forums
|
BOOK: Professional Microsoft Robotics Studio ISBN: 978-0-470-14107-6
This is the forum to discuss the Wrox book Professional Microsoft Robotics Developer Studio by Kyle Johns, Trevor Taylor; ISBN: 9780470141076
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Microsoft Robotics Studio ISBN: 978-0-470-14107-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 19th, 2008, 06:12 PM
Registered User
 
Join Date: Jun 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 3 code

I think there's something missing in the construction of ServiceB in Chapter 3.

I don't think you mention that you need to add SetInterval to the definition of ServiceBOperations so that it looks like this:

    [ServicePort()]
    public class ServiceBOperations : PortSet<DsspDefaultLookup, DsspDefaultDrop, Get, SetInterval>
    {
    }

At the bottom of page 117 you mention that this will be discussed further in the Update section (pages 133 - 134) but I didn't see it in that section or anywhere else...did I just miss it?

Without that change, ServiceA won't build because the ServiceBOperations Proxy doesn't provide a SetInterval operation.

Dave

 
Old June 23rd, 2008, 08:09 PM
Wrox Author
 
Join Date: Apr 2008
Posts: 60
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Hi Dave,

Yes, I think you are correct. You definitely need the SetInterval operation.

I guess the sample code should be trusted more than the code in the text.

Sorry for the omission.

Trevor







Similar Threads
Thread Thread Starter Forum Replies Last Post
Code by Chapter Jonathan BOOK: ASP.NET Website Programming Problem-Design-Solution 1 September 19th, 2003 02:56 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.