blob: d7d806987fdf2ca5bb4e2fea4bc6de329e7fa859 [file] [log] [blame]
/****************************************************************************
* Copyright (c) 2004 Composent, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Composent, Inc. - initial API and implementation
*****************************************************************************/
package org.eclipse.ecf.presence;
import org.eclipse.ecf.core.identity.ID;
/**
* Abstract superclass for different types of messages.
*/
public abstract class IMMessage implements IIMMessage {
protected ID fromID;
public IMMessage(ID fromID) {
this.fromID = fromID;
}
/*
* (non-Javadoc)
*
* @see org.eclipse.ecf.presence.IIMMessage#getFromID()
*/
public ID getFromID() {
return fromID;
}
/*
* (non-Javadoc)
*
* @see org.eclipse.core.runtime.IAdaptable#getAdapter(java.lang.Class)
*/
public Object getAdapter(Class adapter) {
return null;
}
}