xmlBlaster 2.2.0 API

org.xmlBlaster.util
Class Container

java.lang.Object
  extended by org.xmlBlaster.util.Container

final class Container
extends java.lang.Object

Helper holding the callback interface an some user data to be looped through.


Field Summary
private  java.lang.Object callback
           
(package private)  long creation
           
private  java.lang.Object userData
           
private  boolean useWeakReference
           
 
Constructor Summary
Container(boolean useWeakReference, I_Timeout callback, java.lang.Object userData)
           
 
Method Summary
(package private)  I_Timeout getCallback()
           
(package private)  java.lang.Object getUserData()
           
(package private)  void reset()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

useWeakReference

private final boolean useWeakReference

callback

private java.lang.Object callback

userData

private java.lang.Object userData

creation

final long creation
Constructor Detail

Container

Container(boolean useWeakReference,
          I_Timeout callback,
          java.lang.Object userData)
Parameters:
callback - The handle to callback a client (is checked already to be not null)
Method Detail

getCallback

I_Timeout getCallback()
Returns:
The callback handle can be null for weak references

getUserData

java.lang.Object getUserData()
Returns:
The userData, can be null for weak references

reset

void reset()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.