
Gains Made:
I feel like there are two aspects of this class that we can apply to this “gains made”
section. First it is the actual learning of .Net programming environment; second is the
softer side of this class but what I believe to be the real objective of this course. It is
dealing with organizational efforts, communication, leadership and effective requests.
The following is what I’ve gained from Comp 410 this week:
1) Common interface changed- deleted the unnecessary closeConnection() method.
Changed the message that was passed around to an object for future abstraction.
GUI made- using .Net Windows Form; Jack Chat, I learned how to use different
forms and link them with the Jack Chat GUI. i.e:
frmConnectionSettings.ShowDialog()
This made human interaction easier and it looks nicer to have another form for the
connection settings.
Model made- for the purpose of easier debugging and variable referencing. My
model is called JackChat. It is an internal class inside the GUI; it extends
MarshalByRefObject and IChat therefore it will be allowed for access across
domains when the other user’s Activator gets a reference to my JackChat. It
extends IChat because other clients will know how to send messages and
communicate with my version of IChat.
Helper Class- ChatClient- Eric made a nice class to handle Listening for
connection and Connecting to other Chat Programs. When an object of ChatClient
is instantiated, a HttpClientChannel is made and registered with security off.
ChatClient has a Listen method that sets which URI and port to open the
connection to if someone is to connect. The object that I send back is done with
RemotingService.Marshal(servObj, objURL). RemotingService is a class that
provides several methods for publishing remoted objects and proxies over the
network.
ConnectTo method is called when the client (us) wants to connect to a server
(another user). It returns a proxy to the other user’s client, the object returned
must inherit IChat for the purpose of a commonly agreed upon shared
assembly(IChat). This is achieved by doing:
Activator.GetObject(typeof(IChat), url).
2) Communication- SharePoint was revamped; deleted most of the irrelevant junk
That came packaged with the template Dr. Wong had setup.
Tasking- we finally have subgroups and roles on a team. Since none of us are
really experts in .Net, we have research groups to discover the possibilities in
using DirectX, Unreal Engine, SQL database, COM+.