org.instrumentmiddleware.cima.session
Interface ISession

All Superinterfaces:
java.util.Map<java.lang.String,java.lang.Object>
All Known Implementing Classes:
MapExtenderSession

public interface ISession
extends java.util.Map<java.lang.String,java.lang.Object>

this names of this interface and ICIMASession are lame - please help This is a placeholder interface to allow us to decorate a Map nicely and provide access to CIMA session objects using a single interface

Author:
andrew

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Method Summary
 java.lang.String getId()
           
 ICIMAPlugin getPlugin()
          retrieve the local plugin instance that is involved in the session indicated by sessionId
 org.instrumentmiddleware.cima.parcel.EntityType getSubscriber()
          retrieve the the remote plugin reference that is involved in the session indicated by sessionId
 void invalidate()
          invalidate the session
 boolean isValid()
           
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

getId

java.lang.String getId()

isValid

boolean isValid()
Returns:
whether the session is valid

invalidate

void invalidate()
invalidate the session


getPlugin

ICIMAPlugin getPlugin()
retrieve the local plugin instance that is involved in the session indicated by sessionId

Parameters:
sessionId -
Returns:
the local plugin instance

getSubscriber

org.instrumentmiddleware.cima.parcel.EntityType getSubscriber()
retrieve the the remote plugin reference that is involved in the session indicated by sessionId

Parameters:
sessionId -
Returns:
the remote plugin reference


Copyright © 2008. All Rights Reserved.