{"id":16148739,"url":"https://github.com/deevus/seng3400-a3","last_synced_at":"2025-07-24T13:04:25.925Z","repository":{"id":145142471,"uuid":"45228137","full_name":"deevus/seng3400-a3","owner":"deevus","description":null,"archived":false,"fork":false,"pushed_at":"2015-11-01T07:14:29.000Z","size":416,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-02-13T03:22:03.653Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deevus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-30T03:59:05.000Z","updated_at":"2015-10-30T04:05:12.000Z","dependencies_parsed_at":"2023-04-11T13:53:36.325Z","dependency_job_id":null,"html_url":"https://github.com/deevus/seng3400-a3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deevus%2Fseng3400-a3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deevus%2Fseng3400-a3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deevus%2Fseng3400-a3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deevus%2Fseng3400-a3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deevus","download_url":"https://codeload.github.com/deevus/seng3400-a3/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247552941,"owners_count":20957376,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T00:34:45.493Z","updated_at":"2025-04-06T21:27:06.005Z","avatar_url":"https://github.com/deevus.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SENG3400 - Assignment 3\r\n## Simon Hartcher - C3185790\r\n\r\n### Usage Instructions\r\n\r\n#### a) Build using Makefile\r\n\r\n  Run `make` from the `src/` directory\r\n\r\n#### b) Build Manually\r\n\r\n1. Generate IDL (`src/`)\r\n\r\n  Note that we use the `-fall` flag as the helper classes are required in the implementation.\r\n  \r\n  ```\r\n  idlj -td client -fall sync.idl\r\n  idlj -td server -fall sync.idl\r\n  ```\r\n\r\n2. Compile server (`src/server/`)\r\n\r\n  ```\r\n  javac *.java SyncApp/*.java\r\n  ```\r\n\r\n3. Compile client (`src/client/`)\r\n\r\n  ```\r\n  javac *.java SyncApp/*.java\r\n  ```\r\n\r\n### Running\r\n\r\n1. Start server (assuming orb daemon is running) (`src/server/`)\r\n\r\n  ```\r\n  java SyncServer\r\n  ```\r\n\r\n2. Run clients (`src/client/`)\r\n\r\n  ```\r\n  java SyncClient -SyncMode deferred\r\n  java SyncClient -SyncMode async\r\n  ```\r\n\r\n### Notes\r\n\r\nThe deferred client will always end after 15 ticks, as the client will block on\r\nthe 10th tick until we can assign a new value, before doing the final five ticks.\r\n\r\nThe async client will end somewhere on or after 10 ticks depending on the server.\r\nWhen the value changes, the final five ticks counts down before ending.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeevus%2Fseng3400-a3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeevus%2Fseng3400-a3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeevus%2Fseng3400-a3/lists"}