connectivity/com.nokia.tcf/src/com/nokia/tcf/impl/ITCCookie.java
author cawthron
Fri, 15 Jan 2010 11:19:08 -0600
branchRCL_2_4
changeset 768 774b5f74e4ed
parent 0 fb279309251b
permissions -rw-r--r--
add release notes about WINSCW compiler 3.2.5 build 487

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*
*/
/**
 * 
 */
package com.nokia.tcf.impl;

import org.eclipse.core.runtime.IStatus;

public interface ITCCookie {

	/**
	 * Returns true if client is successfully connected
	 * 
	 * @return
	 */
	public boolean isConnected();
	
	/**
	 * Sets connected status
	 * 
	 * @param connected
	 */
	
	public void setConnected(boolean connected);
	
	/**
	 * Get the IStatus portion
	 * 
	 * @return
	 */
	public IStatus getStatus();
	
	/**
	 * Set the IStatus portion
	 * 
	 * @param inStatus
	 */
	public void setStatus(IStatus inStatus);
	
	/**
	 * Get the client ID
	 * 
	 * @return
	 */
	public long getClientId();
	/**
	 * Set the client ID
	 * 
	 * @param inClientId
	 */
	public void setClientId(long inClientId);
	
	/**
	 * Is message processing in progress?
	 * 
	 * @return
	 */
	public boolean isMessageProcessing();
	
	/**
	 * Set message processing status
	 * 
	 * @param inMessageProcessing
	 */
	public void setMessageProcessing(boolean inMessageProcessing);
}