Oracle Secure Global Desktop Web Services API Documentation
Release 4.7

E21396-02

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

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

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

The class enables the registration of events with the Secure Global Desktop Server.

See Also:
Serialized Form

Constructor Summary
RegisterSGDEvent()
           
 
Method Summary
 void addSGDListener(SGDListener listener)
          Adds a listener for the event.
 java.lang.String getID()
          Gets the ID of the registering object.
 IServiceLocator getLocator()
          Gets the web service locator.
 java.lang.String getName()
          Gets the name of the event.
 int getPort()
          Gets the listening port of the client component.
 java.lang.String getSessionCookie()
          Gets the session cookie.
 java.lang.String getTarget()
          Gets the target into which URL is loaded.
 java.lang.String getURL()
          Gets the URL to load.
 void onSGDEvent(SGDEvent event)
          Called when an event is fired by the Secure Global Desktop server.
 void removeSGDListener(SGDListener listener)
          Removes a listener for the event.
 void run()
           
 void setID(java.lang.String id)
          Sets the ID of the registering object.
 void setLocator(IServiceLocator locator)
          Sets the web service locator.
 void setName(java.lang.String name)
          Sets the name of the event.
 void setPort(int port)
          Sets listening port of the client component.
 void setSessionCookie(java.lang.String cookie)
          Sets the session cookie.
 void setTarget(java.lang.String target)
          Sets the target into which URL is loaded.
 void setURL(java.lang.String url)
          Sets the URL to load.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegisterSGDEvent

public RegisterSGDEvent()
Method Detail

getName

public java.lang.String getName()
Gets the name of the event.

Returns:
The name of the event.
Since:
1.1

setName

public void setName(java.lang.String name)
Sets the name of the event.

Parameters:
name - The name of the event.
Since:
1.1

getSessionCookie

public java.lang.String getSessionCookie()
Gets the session cookie.

Returns:
The session cookie.
Since:
1.1

setSessionCookie

public void setSessionCookie(java.lang.String cookie)
Sets the session cookie.

Parameters:
cookie - The session cookie.
Since:
1.1

getURL

public java.lang.String getURL()
Gets the URL to load.

Returns:
The URL to load.
Since:
1.1

setURL

public void setURL(java.lang.String url)
Sets the URL to load.

Parameters:
url - The URL to load.
Since:
1.1

getTarget

public java.lang.String getTarget()
Gets the target into which URL is loaded.

Returns:
The target into which URL is loaded.
Since:
1.1

setTarget

public void setTarget(java.lang.String target)
Sets the target into which URL is loaded.

Parameters:
target - The target into which URL is loaded.
Since:
1.1

getID

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

Returns:
The ID of the registering object.
Since:
1.1

setID

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

Parameters:
id - The ID of the registering object.
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

getLocator

public IServiceLocator getLocator()
Gets the web service locator.

Returns:
The the web service locator.
Since:
1.1

setLocator

public void setLocator(IServiceLocator locator)
Sets the web service locator.

Parameters:
locator - The the web service locator.
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

onSGDEvent

public void onSGDEvent(SGDEvent event)
Description copied from interface: SGDListener
Called when an event is fired by the Secure Global Desktop server.

Specified by:
onSGDEvent in interface SGDListener
Parameters:
event - The event.

Oracle Secure Global Desktop Web Services API Documentation
Release 4.7

E21396-02

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