t3.remotehrd.client
Class RemoteHRDClient
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hrdRenderer
public final HRDRenderer hrdRenderer
- The HRDRenderer that actually does the rendering for the client
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
sendMessageToServer
public void sendMessageToServer(java.io.Serializable msg)
doRenderLoop
public void doRenderLoop()
- As HRDRenderer.doItSingleThreaded.