WeStealzYourDataz.git
8 years agoAdd Registration functionality and tidy up master
Eddie [Wed, 3 Jun 2015 12:06:53 +0000 (13:06 +0100)]
Add Registration functionality and tidy up

8 years agoMerge branch 'feature_server_social'
Eddie [Tue, 2 Jun 2015 16:18:12 +0000 (17:18 +0100)]
Merge branch 'feature_server_social'

Conflicts:
src/uk/ac/ntu/n0521366/wsyd/server/ServerSocial.java

8 years agoMerge branch 'feature_client'
Eddie [Tue, 2 Jun 2015 16:16:08 +0000 (17:16 +0100)]
Merge branch 'feature_client'

8 years agoMerge branch 'feature_server_management'
Eddie [Tue, 2 Jun 2015 16:15:41 +0000 (17:15 +0100)]
Merge branch 'feature_server_management'

8 years agomanagement: use the Event Manager
Eddie [Tue, 2 Jun 2015 16:15:23 +0000 (17:15 +0100)]
management: use the Event Manager

8 years agoclient: send and receive network messages
Eddie [Tue, 2 Jun 2015 16:13:59 +0000 (17:13 +0100)]
client: send and receive network messages

8 years agoServerSocial: complete network message handling
Eddie [Tue, 2 Jun 2015 16:08:49 +0000 (17:08 +0100)]
ServerSocial: complete network message handling

8 years agolibs.net: complete network functionality
Eddie [Tue, 2 Jun 2015 15:59:43 +0000 (16:59 +0100)]
libs.net: complete network functionality

8 years agolibs.message: new Message types
Eddie [Tue, 2 Jun 2015 15:58:42 +0000 (16:58 +0100)]
libs.message: new Message types

8 years agoAdded stream manager and TCP listener
Eddie [Mon, 1 Jun 2015 16:58:58 +0000 (17:58 +0100)]
Added stream manager and TCP listener

8 years agoImplemented TCP streams for object serialization
Eddie [Mon, 1 Jun 2015 16:56:56 +0000 (17:56 +0100)]
Implemented TCP streams for object serialization

8 years agoindex.md: Add title, TOC, and custom CSS to generated HTML
TJ [Mon, 4 May 2015 18:57:18 +0000 (19:57 +0100)]
index.md: Add title, TOC, and custom CSS to generated HTML

8 years agoServerManagement: log static ServiceAddressMap entries at startup
TJ [Mon, 4 May 2015 17:07:53 +0000 (18:07 +0100)]
ServerManagement: log static ServiceAddressMap entries at startup

Logs values received from the command-line and any other static entries;
also remove commas from port numbers in log messages.

8 years agoNetworkServerUDP: remove comma from logged port numbers
TJ [Mon, 4 May 2015 17:06:52 +0000 (18:06 +0100)]
NetworkServerUDP: remove comma from logged port numbers

8 years agoServiceAddressMap: add getEntrySet()
TJ [Mon, 4 May 2015 17:04:24 +0000 (18:04 +0100)]
ServiceAddressMap: add getEntrySet()

Provides for iterating over the map, and make access to LastSeenHost
fields public.

8 years agoServerManagement: user control of multicast announcements
TJ [Mon, 4 May 2015 16:26:44 +0000 (17:26 +0100)]
ServerManagement: user control of multicast announcements

Add menu item to Log menu allowing user to control multicast announcement
of the Log service.

Refactor the ActionListener and Timer to better reflect its use for performing
unrelated regular tasks.

8 years agoremove stray file
TJ [Mon, 4 May 2015 16:26:01 +0000 (17:26 +0100)]
remove stray file

8 years agoServiceAddressMap: add missing javadoc @param
TJ [Mon, 4 May 2015 15:45:26 +0000 (16:45 +0100)]
ServiceAddressMap: add missing javadoc @param

8 years agoCorrect HTML entities in javadoc
TJ [Mon, 4 May 2015 15:43:18 +0000 (16:43 +0100)]
Correct HTML entities in javadoc

8 years agoNetworkServer*: remove unused imports
TJ [Mon, 4 May 2015 15:41:14 +0000 (16:41 +0100)]
NetworkServer*: remove unused imports

8 years agoServerManagement: become owner of ServiceAddressMap
TJ [Mon, 4 May 2015 15:38:00 +0000 (16:38 +0100)]
ServerManagement: become owner of ServiceAddressMap

ServiceAddressMap is now application-wide so all network service daemons
use the same map.

Refactor variable names to better reflect their purpose ("Server" >
"Service").

8 years agoServerSocial: refactor "Server" to "Service"
TJ [Mon, 4 May 2015 15:35:52 +0000 (16:35 +0100)]
ServerSocial: refactor "Server" to "Service"

Refactor some variable names to better reflect their purpose, and
fix some indentation.

8 years agoServiceAddressMap: improve public API
TJ [Mon, 4 May 2015 15:33:34 +0000 (16:33 +0100)]
ServiceAddressMap: improve public API

Make constructors public, add additional wrapper methods for the
underlying Map, and expand javadocs.

8 years agoNetworkServerUDPMulticast: move "all" target out
TJ [Mon, 4 May 2015 15:30:08 +0000 (16:30 +0100)]
NetworkServerUDPMulticast: move "all" target out

_serviceToHostMap has moved out of NetworkServerAbstract into
ServiceAddressMap and is now owned by the application class where
the 'all' target should be set.

8 years agoNetworkServerUDP: get actual ephemeral socket address
TJ [Mon, 4 May 2015 15:27:29 +0000 (16:27 +0100)]
NetworkServerUDP: get actual ephemeral socket address

During construction of a service requesting an ephemeral port
ensure the services' internal SocketAddress reflects the actual
port allocated by the operating system.

8 years agoNetworkServerAbstract: add getSocketAddress()
TJ [Mon, 4 May 2015 15:24:41 +0000 (16:24 +0100)]
NetworkServerAbstract: add getSocketAddress()

Supports easy access and passing around of the socket address of the
service.

8 years agoNetwork: add PORTS_EPHEMERAL constant
TJ [Mon, 4 May 2015 15:21:35 +0000 (16:21 +0100)]
Network: add PORTS_EPHEMERAL constant

This, rather than a plain 0, adds semmantic sugar to make it obvious when constructing
a socket and expecting to be given an ephemeral port by the operating system.

8 years agoNetworkPresence: encapsulate WSYD_SocketAddress
TJ [Mon, 4 May 2015 15:18:25 +0000 (16:18 +0100)]
NetworkPresence: encapsulate WSYD_SocketAddress

Storing a simple port number is not sufficient. The WSYD_SocketAddress
can be passed directly between hosts and into constructors, and for services
and sockets.

8 years agoreport: add link for NetBeans per-file runtime command line arguments plugin
TJ [Sun, 3 May 2015 18:51:17 +0000 (19:51 +0100)]
report: add link for NetBeans per-file runtime command line arguments plugin

8 years agoMove ServiceToHostMap into stand-alone class ServiceAddressMap and refactor accordingly
TJ [Sun, 3 May 2015 18:50:30 +0000 (19:50 +0100)]
Move ServiceToHostMap into stand-alone class ServiceAddressMap and refactor accordingly

8 years agoServerManagement: add support for sending UDP Control messages to servers
TJ [Sun, 3 May 2015 10:50:14 +0000 (11:50 +0100)]
ServerManagement: add support for sending UDP Control messages to servers

8 years agoNetworkServerUDP: add additional logging
TJ [Sun, 3 May 2015 10:48:48 +0000 (11:48 +0100)]
NetworkServerUDP: add additional logging

8 years agoNetworkServerAbstract: make LastSeenHost immutable and create method getTargeAddress...
TJ [Sun, 3 May 2015 10:47:55 +0000 (11:47 +0100)]
NetworkServerAbstract: make LastSeenHost immutable and create method getTargeAddress() to query services map

8 years agoAdded UDP listener
Eddie [Sun, 3 May 2015 10:33:20 +0000 (11:33 +0100)]
Added UDP listener

8 years agoChanged MessageServerControl to enums
Eddie [Sat, 2 May 2015 20:41:54 +0000 (21:41 +0100)]
Changed MessageServerControl to enums

8 years agoCreated MessageServerControl
Eddie [Sat, 2 May 2015 20:22:31 +0000 (21:22 +0100)]
Created MessageServerControl

8 years agoCreated MessageServerControl
Eddie [Sat, 2 May 2015 20:21:16 +0000 (21:21 +0100)]
Created MessageServerControl
Added SocialServer multicast handling

8 years agoFix typo in port number
TJ [Sat, 2 May 2015 15:05:21 +0000 (16:05 +0100)]
Fix typo in port number

8 years agoAdd To Do document
TJ [Sat, 2 May 2015 15:04:16 +0000 (16:04 +0100)]
Add To Do document

8 years agoAdd link to ToDo document; restyle HTML
TJ [Sat, 2 May 2015 15:03:56 +0000 (16:03 +0100)]
Add link to ToDo document; restyle HTML

8 years agoCorrect grammatical error
TJ [Sat, 2 May 2015 15:01:08 +0000 (16:01 +0100)]
Correct grammatical error

8 years agoWe Stealz Your Dataz
TJ [Sat, 2 May 2015 10:50:55 +0000 (11:50 +0100)]
We Stealz Your Dataz