tecnogram888 / Project4Skeleton

http://inst.eecs.berkeley.edu/~cs162/sp12/phase4.html
1 stars 0 forks source link

update toXML() in TPCMessage.java #14

Closed ricefield closed 12 years ago

ricefield commented 12 years ago

the spec for Registration Messages is:

Register: '<?xml version="1.0" encoding="UTF-8"?>' '' 'Message>SlaveServerID@HostName:Port</Message' ''

Registration ACK: '<?xml version="1.0" encoding="UTF-8"?>' '' 'Successfully registered SlaveServerID@HostName:Port' ''

so TPCMessage needs to format its XML (and other fields possibly) to match this.