t3.remotehrd.client
Class RemoteHRDClient

java.lang.Object
  extended by t3.remotehrd.client.RemoteHRDClient

public class RemoteHRDClient
extends java.lang.Object

This class represents a RemoteHRD client, consisting of a HRDRenderer whose state is updated according to messages from a RemoteHRD server.

Author:
pjt40

Field Summary
 HRDRenderer hrdRenderer
          The HRDRenderer that actually does the rendering for the client
 
Constructor Summary
RemoteHRDClient(int clientId, java.util.List<ProjectorConfig> projectorConfigs, java.net.Socket socket, RemoteHRDClientCallBacks rCallBacks, java.util.LinkedList<PointInputDevice> pointInputDevices, ShapeInputDevice shapeInputDevice, boolean shareTexturesBetweenContexts, boolean mouseAsPointingDevice, BlendOptions bo)
          Creates a new RemoteHRD client that listens on a specific socket.
 
Method Summary
 void doRenderLoop()
          As HRDRenderer.doItSingleThreaded.
 void sendMessageToServer(java.io.Serializable msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hrdRenderer

public final HRDRenderer hrdRenderer
The HRDRenderer that actually does the rendering for the client

Constructor Detail

RemoteHRDClient

public RemoteHRDClient(int clientId,
                       java.util.List<ProjectorConfig> projectorConfigs,
                       java.net.Socket socket,
                       RemoteHRDClientCallBacks rCallBacks,
                       java.util.LinkedList<PointInputDevice> pointInputDevices,
                       ShapeInputDevice shapeInputDevice,
                       boolean shareTexturesBetweenContexts,
                       boolean mouseAsPointingDevice,
                       BlendOptions bo)
                throws Projector.ProjectorOpeningException,
                       java.io.IOException
Creates a new RemoteHRD client that listens on a specific socket. Most of the arguments are the same as for HRDRenderer. Call doRenderLoop to actually begin rendering.

Parameters:
projectorConfigs -
socket - Socket on which to send/recieve messages.
rCallBacks -
pointInputDevices -
mouseAsPointingDevice -
Throws:
Projector.ProjectorOpeningException
java.io.IOException
Method Detail

sendMessageToServer

public void sendMessageToServer(java.io.Serializable msg)

doRenderLoop

public void doRenderLoop()
As HRDRenderer.doItSingleThreaded.