Changes since
the last release

com.ebay.sdk
Interface TokenEventListener

All Superinterfaces:
EventListener

public interface TokenEventListener
extends EventListener

Listener to handle token events such as soft-expiration-renew and hard-expiration-warning.

Title:

Description:

Copyright: Copyright (c) 2004

Company: eBay Inc.

Version:
1.0
Author:
Weijun Li

Method Summary
 void renewToken(String newToken)
          Called when a new token is returned from eBay to replace the current one.
 void warnHardExpiration(Date expirationDate)
          Called when a hard expiration warning was received for the token that you are using.
 

Method Detail

renewToken

void renewToken(String newToken)
Called when a new token is returned from eBay to replace the current one.

Parameters:
newToken - String The new token returned from eBay server.

warnHardExpiration

void warnHardExpiration(Date expirationDate)
Called when a hard expiration warning was received for the token that you are using.

Parameters:
expirationDate - Date

Changes since
the last release

The information contained in this document is proprietary and confidential. Use of this information and the eBay API requires a Non-Disclosure Agreement (NDA) between the user and eBay Inc. For information regarding a qualifying NDA, contact Developer Relations: developer-relations@ebay.com
© 2004-2009 eBay Inc. All rights reserved.