Oracle Secure Global Desktop Web Services API Documentation
Release 4.7

E21396-02

com.tarantella.tta.webservices.client.views
Class SGDEventReader

java.lang.Object
  extended by com.tarantella.tta.webservices.client.views.SGDEventReader
All Implemented Interfaces:
java.io.Serializable, java.lang.Runnable

public class SGDEventReader
extends java.lang.Object
implements java.io.Serializable, java.lang.Runnable

The class reads events from the Secure Global Desktop server.

See Also:
Serialized Form

Method Summary
 void addSGDListener(SGDListener listener)
          Adds a listener for the event.
 java.lang.String getID()
          Gets the ID of the reader.
static SGDEventReader getInstance(int port)
          Gets a reader connected to a Secure Global Desktop client listening on a port on localhost.
 int getPort()
          Gets the listening port of the client component.
 void removeSGDListener(SGDListener listener)
          Removes a listener for the event.
 void run()
           
 void setID(java.lang.String id)
          Sets the ID of the reader.
 void setPort(int port)
          Sets listening port of the client component.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SGDEventReader getInstance(int port)
Gets a reader connected to a Secure Global Desktop client listening on a port on localhost.

Parameters:
port - The port on which the Secure Global Desktop client is listening.
Returns:
The event reader.
Since:
1.1

getID

public java.lang.String getID()
Gets the ID of the reader.

Returns:
The ID of the reader.
Since:
1.1

setID

public void setID(java.lang.String id)
Sets the ID of the reader.

Parameters:
id - The ID of the reader.
Since:
1.1

getPort

public int getPort()
Gets the listening port of the client component.

Returns:
The listening port of the client component.
Since:
1.1

setPort

public void setPort(int port)
Sets listening port of the client component.

Parameters:
port - The listening port of the client component.
Since:
1.1

run

public void run()
Specified by:
run in interface java.lang.Runnable

addSGDListener

public void addSGDListener(SGDListener listener)
Adds a listener for the event.

Parameters:
listener - The listener for the event.
Since:
1.1

removeSGDListener

public void removeSGDListener(SGDListener listener)
Removes a listener for the event.

Parameters:
listener - The listener for the event.
Since:
1.1

Oracle Secure Global Desktop Web Services API Documentation
Release 4.7

E21396-02

Copyright © 2012, 2013, Oracle and/or its affiliates. All rights reserved.