Skip to content
Snippets Groups Projects
Commit de374c68 authored by Ayres, Kevin (CAPT)'s avatar Ayres, Kevin (CAPT)
Browse files

AyresDemchkoReadMe.txt

parent ee2bddca
No related branches found
No related tags found
No related merge requests found
Final Project Notes:
We used code from the PDU sender and receiver example to illustrate a logistic process within supply warehouse operations.
Multicast DIS bridge between LANS (2 people)
a. Connect two LANs via unicast socket.
b. Read multicast DIS PDUs from each side, send to other side.
c. Maintain list of passed PDUs, filter duplicates to prevent infinite loops.
d. Report simple statistics.
e.Thesis Support
To Run:
Use classes- AyresDemchkoSender.java and AyresDemchkoReceiver
Sender Output Sample:
Usage: PduSender <port> <multicast group>
Default: PduSender 3000 239.1.2.15
/239.1.2.15
DisExamples.PduSender started...
/239.1.2.15
PDU of type OTHER not supported, created or sent
PDU of type ACTION_RESPONSE not supported, created or sent
PDU of type DATA_QUERY not supported, created or sent
PDU of type SET_DATA not supported, created or sent
PDU of type DATA not supported, created or sent
PDU of type EVENT_REPORT not supported, created or sent
Sending Request
Sent multicast DIS PDU packet 0 of 100
Sending Request
Sent multicast DIS PDU packet 1 of 100
Sending Request
Sent multicast DIS PDU packet 2 of 100
Sending Request
Sent multicast DIS PDU packet 3 of 100
Sending Request
Sent multicast DIS PDU packet 4 of 100
Sending Request
Sent multicast DIS PDU packet 5 of 100
Sending Request
Sent multicast DIS PDU packet 6 of 100
Sending Request
Sent multicast DIS PDU packet 7 of 100
Sending Request
Sent multicast DIS PDU packet 8 of 100
....
Sent multicast DIS PDU packet 95 of 100
Sending Request
Sent multicast DIS PDU packet 96 of 100
Sending Request
Sent multicast DIS PDU packet 97 of 100
Sending Request
Sent multicast DIS PDU packet 98 of 100
Sending Request
Sent multicast DIS PDU packet 99 of 100
REQUEST COMPLETE.
Receiver Output Sample:
DisExamples.PduReceiver started...
Marine Corps Logistics Base Albany: Wilson Warehouse
Order received: 1 NSN ID: 12 Xrow: 70 Yshelf: 113 Forklifts Availble: 100 Forklifts in Service: 0
______________________________________________________
received DIS PDU: pduType 15 edu.nps.moves.dis.AcknowledgePdu, protocolFamily=5
Marine Corps Logistics Base Albany: Wilson Warehouse
Order received: 2 NSN ID: 13 Xrow: 73 Yshelf: 118 Forklifts Availble: 99 Forklifts in Service: 1
______________________________________________________
received DIS PDU: pduType 16 edu.nps.moves.dis.ActionRequestPdu, protocolFamily=5
Marine Corps Logistics Base Albany: Wilson Warehouse
Order received: 3 NSN ID: 14 Xrow: 76 Yshelf: 123 Forklifts Availble: 98 Forklifts in Service: 2
______________________________________________________
received DIS PDU: pduType 4 edu.nps.moves.dis.CollisionPdu, protocolFamily=1
Marine Corps Logistics Base Albany: Wilson Warehouse
Order received: 4 NSN ID: 15 Xrow: 79 Yshelf: 128 Forklifts Availble: 97 Forklifts in Service: 3
______________________________________________________
received DIS PDU: pduType 22 edu.nps.moves.dis.CommentPdu, protocolFamily=5
Marine Corps Logistics Base Albany: Wilson Warehouse
Order received: 5 NSN ID: 16 Xrow: 82 Yshelf: 133 Forklifts Availble: 96 Forklifts in Service: 4
______________________________________________________
received DIS PDU: pduType 11 edu.nps.moves.dis.CreateEntityPdu, protocolFamily=5
....
received DIS PDU: pduType 6 edu.nps.moves.dis.ResupplyOfferPdu, protocolFamily=3
received packet but pdu is null, packet.getData().length=1500, error...
Marine Corps Logistics Base Albany: Wilson Warehouse
Order received: 14 NSN ID: 25 Xrow: 109 Yshelf: 178 Forklifts Availble: 87 Forklifts in Service: 13
______________________________________________________
received DIS PDU: pduType 5 edu.nps.moves.dis.ServiceRequestPdu, protocolFamily=3
Marine Corps Logistics Base Albany: Wilson Warehouse
Order received: 15 NSN ID: 26 Xrow: 112 Yshelf: 183 Forklifts Availble: 86 Forklifts in Service: 14
______________________________________________________
received DIS PDU: pduType 13 edu.nps.moves.dis.StartResumePdu, protocolFamily=5
Marine Corps Logistics Base Albany: Wilson Warehouse
Order received: 16 NSN ID: 27 Xrow: 115 Yshelf: 188 Forklifts Availble: 85 Forklifts in Service: 15
SERVICE COMPLETE.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment