org.ogf.graap.wsag.client.api.impl
Class AbstractClient

java.lang.Object
  extended by org.ogf.graap.wsag.client.api.impl.AbstractClient
Direct Known Subclasses:
AbstractAgreementFactoryClient, AbstractFactoryRegistryClient, AgreementClientImpl, NegotiationClientImpl

public abstract class AbstractClient
extends Object

Author:
owaeld

Constructor Summary
AbstractClient()
           
 
Method Summary
 Properties getProperties()
          Returns the properties of the remote client.
abstract  RemoteClient getRemoteClient()
          Returns the remote client used by this implementation in order to communicate with the WSAG4J server.
 EndpointReferenceType getRemoteReference()
          Returns the remote reference of the remote client.
 ISecurityProperties getSecurityProperties()
          Returns the security properties of the remote client.
 boolean isUsingTrace()
          Returns whether or not the remote client traces the messages to the console.
 void setProperties(Properties properties)
          Sets the properties for the remote client.
 void setTrace(boolean trace)
          Sets whether or not the remote client traces the messages to the console.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractClient

public AbstractClient()
Method Detail

getRemoteReference

public EndpointReferenceType getRemoteReference()
Returns the remote reference of the remote client. Remote references are encapsulated as endpoint references.

Returns:
the remote reference

getRemoteClient

public abstract RemoteClient getRemoteClient()
Returns the remote client used by this implementation in order to communicate with the WSAG4J server.

Returns:
the remote client

getProperties

public Properties getProperties()
Returns the properties of the remote client.

Returns:
the remote client properties

setProperties

public void setProperties(Properties properties)
Sets the properties for the remote client.

Parameters:
properties - the remote client properties

isUsingTrace

public boolean isUsingTrace()
Returns whether or not the remote client traces the messages to the console.

Returns:
trace mode enabled

setTrace

public void setTrace(boolean trace)
Sets whether or not the remote client traces the messages to the console.

Parameters:
trace - trace mode

getSecurityProperties

public ISecurityProperties getSecurityProperties()
Returns the security properties of the remote client.

Returns:
the security properties for this client


Copyright © 2008-2012. All Rights Reserved.