wms-mediacache

16:54:09.292 INFO  jd.cli.Main - Decompiling wms-mediacache.jar
package com.wowza.wms.mediacache.impl;

public abstract interface IMediaCacheHTTPByteReader
{
  public abstract MediaCacheHTTPByteReaderResult head(String paramString);
  
  public abstract MediaCacheHTTPByteReaderResult read(String paramString, long paramLong, int paramInt);
  
  public abstract void close();
  
  public abstract void setDestinationAddress(String paramString, int paramInt);
  
  public abstract void setProxyAddress(String paramString, int paramInt);
  
  public abstract void setRequestFullURL(boolean paramBoolean);
  
  public abstract void setReadTimeout(int paramInt);
  
  public abstract void setMaxRetries(int paramInt);
  
  public abstract void setConnectionTimeout(int paramInt);
  
  public abstract void setSendBufferSize(int paramInt);
  
  public abstract void setReceiveBufferSize(int paramInt);
  
  public abstract void init();
}

/* Location:
 * Qualified Name:     com.wowza.wms.mediacache.impl.IMediaCacheHTTPByteReader
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package com.wowza.wms.mediacache.impl;

import com.wowza.util.IGenericPoolFactory;
import com.wowza.wms.application.WMSProperties;
import com.wowza.wms.mediacache.model.IMediaCacheItem;

public abstract interface IMediaCacheItemHTTPReaderFactory
  extends IGenericPoolFactory<IMediaCacheHTTPByteReader>
{
  public abstract void setProxyAddress(String paramString, int paramInt);
  
  public abstract IMediaCacheHTTPByteReader createInstance();
  
  public abstract void destroyInstance(IMediaCacheHTTPByteReader paramIMediaCacheHTTPByteReader);
  
  public abstract boolean isRequestFullURL();
  
  public abstract void setRequestFullURL(boolean paramBoolean);
  
  public abstract int getReadTimeout();
  
  public abstract void setReadTimeout(int paramInt);
  
  public abstract int getConnectionTimeout();
  
  public abstract void setConnectionTimeout(int paramInt);
  
  public abstract int getPort();
  
  public abstract void setPort(int paramInt);
  
  public abstract int getReadRetries();
  
  public abstract void setReadRetries(int paramInt);
  
  public abstract int getSendBufferSize();
  
  public abstract void setSendBufferSize(int paramInt);
  
  public abstract int getReceiveBufferSize();
  
  public abstract void setReceiveBufferSize(int paramInt);
  
  public abstract void setDestinationAddress(String paramString, int paramInt);
  
  public abstract IMediaCacheItem getMediaCacheItem();
  
  public abstract void setMediaCacheItem(IMediaCacheItem paramIMediaCacheItem);
  
  public abstract void init();
  
  public abstract void addProperties(WMSProperties paramWMSProperties);
}

/* Location:
 * Qualified Name:     com.wowza.wms.mediacache.impl.IMediaCacheItemHTTPReaderFactory
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package com.wowza.wms.mediacache.impl;

public abstract interface IMediaCacheNameHandler
{
  public abstract void addToEnvMap(String paramString1, String paramString2);
  
  public abstract String getBasePath();
  
  public abstract void setBasePath(String paramString);
  
  public abstract String getCanHandleFilter();
  
  public abstract void setCanHandleFilter(String paramString);
  
  public abstract String getMediaNameExpression();
  
  public abstract void setMediaNameExpression(String paramString);
  
  public abstract String getPathDelimiter();
  
  public abstract void setPathDelimiter(String paramString);
}

/* Location:
 * Qualified Name:     com.wowza.wms.mediacache.impl.IMediaCacheNameHandler
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package com.wowza.wms.mediacache.impl;

public abstract interface IMediaCacheSourceBasicPerSourceInfo
{
  public abstract void setName(String paramString);
  
  public abstract String getName();
}

/* Location:
 * Qualified Name:     com.wowza.wms.mediacache.impl.IMediaCacheSourceBasicPerSourceInfo
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package com.wowza.wms.mediacache.impl;

public abstract interface IMediaCacheSourceBasicPerSourceInfoListener
{
  public abstract void onPerSourceInfoAdd(IMediaCacheSourceBasicPerSourceInfo paramIMediaCacheSourceBasicPerSourceInfo);
  
  public abstract void onPerSourceInfoRemove(IMediaCacheSourceBasicPerSourceInfo paramIMediaCacheSourceBasicPerSourceInfo);
}

/* Location:
 * Qualified Name:     com.wowza.wms.mediacache.impl.IMediaCacheSourceBasicPerSourceInfoListener
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package com.wowza.wms.mediacache.impl;

import com.wowza.util.Base64;
import com.wowza.util.JSON;
import com.wowza.util.URLUtils;
import com.wowza.wms.logging.WMSLogger;
import com.wowza.wms.logging.WMSLoggerFactory;
import com.wowza.wms.mediacache.model.IMediaCacheSource;
import com.wowza.wms.mediacache.model.IMediaCacheSourceNotify;
import com.wowza.wms.mediacache.model.IMediaCacheStoreNotify;
import com.wowza.wms.mediacache.model.MediaCache;
import com.wowza.wms.mediacache.model.MediaCacheAdminMonitor;
import org.apache.commons.modeler.Registry;

public class MediaCacheAdminMonitorBasic
{
  private MediaCache a = null;
  private StoreNotifier b = null;
  private SourceNotifier c = null;
  private String d = "";
  
  class StoreNotifier
    implements IMediaCacheStoreNotify
  {
    StoreNotifier() {}
    
    /* Error */
    public void onMediaCacheStoreCreate(com.wowza.wms.mediacache.model.MediaCacheStore paramMediaCacheStore)
    {
      // Byte code:
      //   0: aload_0
      //   1: getfield 16	com/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic$StoreNotifier:a	Lcom/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic;
      //   4: invokestatic 26	com/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic:a	(Lcom/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic;)Ljava/lang/String;
      //   7: astore_2
      //   8: goto +30 -> 38
      //   11: return
      //   12: astore_3
      //   13: ldc 28
      //   15: invokestatic 34	com/wowza/wms/logging/WMSLoggerFactory:getLogger	(Ljava/lang/Class;)Lcom/wowza/wms/logging/WMSLogger;
      //   18: bipush 60
      //   20: bipush -24
      //   22: isub
      //   23: ldc 36
      //   25: invokestatic 42	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
      //   28: aload_3
      //   29: invokevirtual 48	com/wowza/wms/logging/WMSLogger:error	(Ljava/lang/String;Ljava/lang/Throwable;)V
      //   32: goto -21 -> 11
      //   35: goto -24 -> 11
      //   38: aconst_null
      //   39: aconst_null
      //   40: invokestatic 54	org/apache/commons/modeler/Registry:getRegistry	(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/commons/modeler/Registry;
      //   43: aload_1
      //   44: new 56	java/lang/StringBuilder
      //   47: dup
      //   48: invokespecial 57	java/lang/StringBuilder:<init>	()V
      //   51: aload_2
      //   52: invokevirtual 61	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   55: sipush 1546
      //   58: sipush 240
      //   61: idiv
      //   62: ldc 63
      //   64: invokestatic 42	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
      //   67: invokevirtual 61	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   70: aload_1
      //   71: invokevirtual 69	com/wowza/wms/mediacache/model/MediaCacheStore:getPath	()Ljava/lang/String;
      //   74: invokestatic 75	com/wowza/util/URLUtils:encodeValue	(Ljava/lang/String;)Ljava/lang/String;
      //   77: invokevirtual 61	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   80: bipush 19
      //   82: bipush 43
      //   84: imul
      //   85: ldc 77
      //   87: invokestatic 42	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
      //   90: invokevirtual 61	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   93: invokevirtual 80	java/lang/StringBuilder:toString	()Ljava/lang/String;
      //   96: aload_1
      //   97: invokevirtual 84	java/lang/Object:getClass	()Ljava/lang/Class;
      //   100: invokevirtual 89	java/lang/Class:getName	()Ljava/lang/String;
      //   103: invokevirtual 93	org/apache/commons/modeler/Registry:registerComponent	(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
      //   106: aload_1
      //   107: invokevirtual 97	com/wowza/wms/mediacache/model/MediaCacheStore:getWriteRateThrottler	()Lcom/wowza/util/IBandwidthThrottler;
      //   110: astore_3
      //   111: aload_3
      //   112: ifnull -77 -> 35
      //   115: aconst_null
      //   116: aconst_null
      //   117: invokestatic 54	org/apache/commons/modeler/Registry:getRegistry	(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/commons/modeler/Registry;
      //   120: aload_3
      //   121: new 56	java/lang/StringBuilder
      //   124: dup
      //   125: invokespecial 57	java/lang/StringBuilder:<init>	()V
      //   128: aload_2
      //   129: invokevirtual 61	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   132: bipush 47
      //   134: bipush -17
      //   136: isub
      //   137: ldc 99
      //   139: invokestatic 42	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
      //   142: invokevirtual 61	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   145: aload_1
      //   146: invokevirtual 69	com/wowza/wms/mediacache/model/MediaCacheStore:getPath	()Ljava/lang/String;
      //   149: invokestatic 75	com/wowza/util/URLUtils:encodeValue	(Ljava/lang/String;)Ljava/lang/String;
      //   152: invokevirtual 61	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   155: ldc 101
      //   157: bipush 37
      //   159: bipush -32
      //   161: iadd
      //   162: invokestatic 107	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
      //   165: invokevirtual 61	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   168: invokevirtual 80	java/lang/StringBuilder:toString	()Ljava/lang/String;
      //   171: aload_3
      //   172: invokevirtual 84	java/lang/Object:getClass	()Ljava/lang/Class;
      //   175: invokevirtual 89	java/lang/Class:getName	()Ljava/lang/String;
      //   178: invokevirtual 93	org/apache/commons/modeler/Registry:registerComponent	(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
      //   181: goto -146 -> 35
      // Line number table:
      //   Java source line #21	-> byte code offset #0
      //   Java source line #34	-> byte code offset #11
      //   Java source line #30	-> byte code offset #12
      //   Java source line #32	-> byte code offset #13
      //   Java source line #33	-> byte code offset #35
      //   Java source line #24	-> byte code offset #38
      //   Java source line #26	-> byte code offset #106
      //   Java source line #27	-> byte code offset #111
      //   Java source line #28	-> byte code offset #115
      // Local variable table:
      //   start	length	slot	name	signature
      //   0	184	0	this	StoreNotifier
      //   0	184	1	paramMediaCacheStore	com.wowza.wms.mediacache.model.MediaCacheStore
      //   7	122	2	str	String
      //   12	17	3	localException	Exception
      //   110	62	3	localIBandwidthThrottler	com.wowza.util.IBandwidthThrottler
      // Exception table:
      //   from	to	target	type
      //   38	184	12	java/lang/Exception
    }
    
    /* Error */
    public void onMediaCacheStoreDestory(com.wowza.wms.mediacache.model.MediaCacheStore paramMediaCacheStore)
    {
      // Byte code:
      //   0: aload_0
      //   1: getfield 16	com/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic$StoreNotifier:a	Lcom/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic;
      //   4: invokestatic 26	com/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic:a	(Lcom/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic;)Ljava/lang/String;
      //   7: astore_2
      //   8: goto +30 -> 38
      //   11: return
      //   12: astore_3
      //   13: ldc 28
      //   15: invokestatic 34	com/wowza/wms/logging/WMSLoggerFactory:getLogger	(Ljava/lang/Class;)Lcom/wowza/wms/logging/WMSLogger;
      //   18: ldc 114
      //   20: bipush 89
      //   22: bipush -69
      //   24: iadd
      //   25: invokestatic 107	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
      //   28: aload_3
      //   29: invokevirtual 48	com/wowza/wms/logging/WMSLogger:error	(Ljava/lang/String;Ljava/lang/Throwable;)V
      //   32: goto -21 -> 11
      //   35: goto -24 -> 11
      //   38: aconst_null
      //   39: aconst_null
      //   40: invokestatic 54	org/apache/commons/modeler/Registry:getRegistry	(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/commons/modeler/Registry;
      //   43: new 56	java/lang/StringBuilder
      //   46: dup
      //   47: invokespecial 57	java/lang/StringBuilder:<init>	()V
      //   50: aload_2
      //   51: invokevirtual 61	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   54: bipush 117
      //   56: bipush -101
      //   58: swap
      //   59: iadd
      //   60: ldc 116
      //   62: invokestatic 42	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
      //   65: invokevirtual 61	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   68: aload_1
      //   69: invokevirtual 69	com/wowza/wms/mediacache/model/MediaCacheStore:getPath	()Ljava/lang/String;
      //   72: invokestatic 75	com/wowza/util/URLUtils:encodeValue	(Ljava/lang/String;)Ljava/lang/String;
      //   75: invokevirtual 61	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   78: ldc 118
      //   80: bipush 50
      //   82: bipush 56
      //   84: iadd
      //   85: invokestatic 107	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
      //   88: invokevirtual 61	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   91: invokevirtual 80	java/lang/StringBuilder:toString	()Ljava/lang/String;
      //   94: invokevirtual 122	org/apache/commons/modeler/Registry:unregisterComponent	(Ljava/lang/String;)V
      //   97: aload_1
      //   98: invokevirtual 97	com/wowza/wms/mediacache/model/MediaCacheStore:getWriteRateThrottler	()Lcom/wowza/util/IBandwidthThrottler;
      //   101: astore_3
      //   102: aload_3
      //   103: ifnull -68 -> 35
      //   106: aconst_null
      //   107: aconst_null
      //   108: invokestatic 54	org/apache/commons/modeler/Registry:getRegistry	(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/commons/modeler/Registry;
      //   111: new 56	java/lang/StringBuilder
      //   114: dup
      //   115: invokespecial 57	java/lang/StringBuilder:<init>	()V
      //   118: aload_2
      //   119: invokevirtual 61	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   122: ldc 124
      //   124: bipush 127
      //   126: bipush 58
      //   128: iadd
      //   129: invokestatic 107	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
      //   132: invokevirtual 61	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   135: aload_1
      //   136: invokevirtual 69	com/wowza/wms/mediacache/model/MediaCacheStore:getPath	()Ljava/lang/String;
      //   139: invokestatic 75	com/wowza/util/URLUtils:encodeValue	(Ljava/lang/String;)Ljava/lang/String;
      //   142: invokevirtual 61	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   145: bipush -51
      //   147: bipush 30
      //   149: isub
      //   150: ldc 126
      //   152: invokestatic 42	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
      //   155: invokevirtual 61	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   158: invokevirtual 80	java/lang/StringBuilder:toString	()Ljava/lang/String;
      //   161: invokevirtual 122	org/apache/commons/modeler/Registry:unregisterComponent	(Ljava/lang/String;)V
      //   164: goto -129 -> 35
      // Line number table:
      //   Java source line #38	-> byte code offset #0
      //   Java source line #51	-> byte code offset #11
      //   Java source line #47	-> byte code offset #12
      //   Java source line #49	-> byte code offset #13
      //   Java source line #50	-> byte code offset #35
      //   Java source line #41	-> byte code offset #38
      //   Java source line #43	-> byte code offset #97
      //   Java source line #44	-> byte code offset #102
      //   Java source line #45	-> byte code offset #106
      // Local variable table:
      //   start	length	slot	name	signature
      //   0	167	0	this	StoreNotifier
      //   0	167	1	paramMediaCacheStore	com.wowza.wms.mediacache.model.MediaCacheStore
      //   7	112	2	str	String
      //   12	17	3	localException	Exception
      //   101	2	3	localIBandwidthThrottler	com.wowza.util.IBandwidthThrottler
      // Exception table:
      //   from	to	target	type
      //   38	167	12	java/lang/Exception
    }
  }
  
  class SourceInfoNotifier
    implements IMediaCacheSourceBasicPerSourceInfoListener
  {
    IMediaCacheSource a = null;
    
    public SourceInfoNotifier(IMediaCacheSource paramIMediaCacheSource)
    {
      a = paramIMediaCacheSource;
    }
    
    /* Error */
    public void onPerSourceInfoAdd(IMediaCacheSourceBasicPerSourceInfo paramIMediaCacheSourceBasicPerSourceInfo)
    {
      // Byte code:
      //   0: aload_0
      //   1: getfield 18	com/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic$SourceInfoNotifier:b	Lcom/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic;
      //   4: invokestatic 30	com/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic:a	(Lcom/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic;)Ljava/lang/String;
      //   7: astore_2
      //   8: goto +29 -> 37
      //   11: return
      //   12: astore_3
      //   13: ldc 32
      //   15: invokestatic 38	com/wowza/wms/logging/WMSLoggerFactory:getLogger	(Ljava/lang/Class;)Lcom/wowza/wms/logging/WMSLogger;
      //   18: bipush 9
      //   20: dup
      //   21: imul
      //   22: ldc 40
      //   24: invokestatic 46	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
      //   27: aload_3
      //   28: invokevirtual 52	com/wowza/wms/logging/WMSLogger:error	(Ljava/lang/String;Ljava/lang/Throwable;)V
      //   31: goto -20 -> 11
      //   34: goto -23 -> 11
      //   37: aload_1
      //   38: invokeinterface 58 1 0
      //   43: astore_3
      //   44: aload_3
      //   45: ifnonnull +6 -> 51
      //   48: goto +97 -> 145
      //   51: aload_3
      //   52: invokestatic 64	com/wowza/util/URLUtils:encodeValue	(Ljava/lang/String;)Ljava/lang/String;
      //   55: astore_3
      //   56: aconst_null
      //   57: aconst_null
      //   58: invokestatic 70	org/apache/commons/modeler/Registry:getRegistry	(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/commons/modeler/Registry;
      //   61: aload_1
      //   62: new 72	java/lang/StringBuilder
      //   65: dup
      //   66: invokespecial 73	java/lang/StringBuilder:<init>	()V
      //   69: aload_2
      //   70: invokevirtual 77	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   73: sipush 244
      //   76: bipush 37
      //   78: idiv
      //   79: ldc 79
      //   81: invokestatic 46	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
      //   84: invokevirtual 77	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   87: aload_0
      //   88: getfield 23	com/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic$SourceInfoNotifier:a	Lcom/wowza/wms/mediacache/model/IMediaCacheSource;
      //   91: invokeinterface 82 1 0
      //   96: invokevirtual 77	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   99: bipush 47
      //   101: bipush 63
      //   103: imul
      //   104: ldc 84
      //   106: invokestatic 46	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
      //   109: invokevirtual 77	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   112: aload_3
      //   113: invokevirtual 77	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   116: ldc 86
      //   118: bipush 111
      //   120: bipush 96
      //   122: iadd
      //   123: invokestatic 92	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
      //   126: invokevirtual 77	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   129: invokevirtual 95	java/lang/StringBuilder:toString	()Ljava/lang/String;
      //   132: aload_1
      //   133: invokevirtual 99	java/lang/Object:getClass	()Ljava/lang/Class;
      //   136: invokevirtual 102	java/lang/Class:getName	()Ljava/lang/String;
      //   139: invokevirtual 106	org/apache/commons/modeler/Registry:registerComponent	(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
      //   142: goto -108 -> 34
      //   145: bipush 15
      //   147: bipush 51
      //   149: imul
      //   150: ldc 108
      //   152: invokestatic 46	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
      //   155: astore_3
      //   156: goto -105 -> 51
      // Line number table:
      //   Java source line #65	-> byte code offset #0
      //   Java source line #79	-> byte code offset #11
      //   Java source line #75	-> byte code offset #12
      //   Java source line #77	-> byte code offset #13
      //   Java source line #78	-> byte code offset #34
      //   Java source line #68	-> byte code offset #37
      //   Java source line #69	-> byte code offset #44
      //   Java source line #71	-> byte code offset #51
      //   Java source line #73	-> byte code offset #56
      //   Java source line #70	-> byte code offset #150
      // Local variable table:
      //   start	length	slot	name	signature
      //   0	159	0	this	SourceInfoNotifier
      //   0	159	1	paramIMediaCacheSourceBasicPerSourceInfo	IMediaCacheSourceBasicPerSourceInfo
      //   7	63	2	str1	String
      //   12	16	3	localException	Exception
      //   43	113	3	str2	String
      // Exception table:
      //   from	to	target	type
      //   37	159	12	java/lang/Exception
    }
    
    /* Error */
    public void onPerSourceInfoRemove(IMediaCacheSourceBasicPerSourceInfo paramIMediaCacheSourceBasicPerSourceInfo)
    {
      // Byte code:
      //   0: aload_0
      //   1: getfield 18	com/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic$SourceInfoNotifier:b	Lcom/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic;
      //   4: invokestatic 30	com/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic:a	(Lcom/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic;)Ljava/lang/String;
      //   7: astore_2
      //   8: goto +28 -> 36
      //   11: astore_3
      //   12: ldc 32
      //   14: invokestatic 38	com/wowza/wms/logging/WMSLoggerFactory:getLogger	(Ljava/lang/Class;)Lcom/wowza/wms/logging/WMSLogger;
      //   17: ldc 113
      //   19: bipush 47
      //   21: bipush -19
      //   23: isub
      //   24: invokestatic 92	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
      //   27: aload_3
      //   28: invokevirtual 52	com/wowza/wms/logging/WMSLogger:error	(Ljava/lang/String;Ljava/lang/Throwable;)V
      //   31: goto +4 -> 35
      //   34: nop
      //   35: return
      //   36: aconst_null
      //   37: aconst_null
      //   38: invokestatic 70	org/apache/commons/modeler/Registry:getRegistry	(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/commons/modeler/Registry;
      //   41: new 72	java/lang/StringBuilder
      //   44: dup
      //   45: invokespecial 73	java/lang/StringBuilder:<init>	()V
      //   48: aload_2
      //   49: invokevirtual 77	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   52: ldc 115
      //   54: bipush -35
      //   56: bipush -24
      //   58: isub
      //   59: invokestatic 92	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
      //   62: invokevirtual 77	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   65: aload_0
      //   66: getfield 23	com/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic$SourceInfoNotifier:a	Lcom/wowza/wms/mediacache/model/IMediaCacheSource;
      //   69: invokeinterface 82 1 0
      //   74: invokevirtual 77	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   77: bipush 41
      //   79: bipush 23
      //   81: imul
      //   82: ldc 117
      //   84: invokestatic 46	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
      //   87: invokevirtual 77	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   90: aload_1
      //   91: invokeinterface 58 1 0
      //   96: invokestatic 64	com/wowza/util/URLUtils:encodeValue	(Ljava/lang/String;)Ljava/lang/String;
      //   99: invokevirtual 77	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   102: sipush 359
      //   105: bipush 55
      //   107: idiv
      //   108: ldc 119
      //   110: invokestatic 46	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
      //   113: invokevirtual 77	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   116: invokevirtual 95	java/lang/StringBuilder:toString	()Ljava/lang/String;
      //   119: invokevirtual 123	org/apache/commons/modeler/Registry:unregisterComponent	(Ljava/lang/String;)V
      //   122: goto -88 -> 34
      // Line number table:
      //   Java source line #83	-> byte code offset #0
      //   Java source line #88	-> byte code offset #11
      //   Java source line #90	-> byte code offset #12
      //   Java source line #91	-> byte code offset #34
      //   Java source line #92	-> byte code offset #35
      //   Java source line #86	-> byte code offset #36
      // Local variable table:
      //   start	length	slot	name	signature
      //   0	125	0	this	SourceInfoNotifier
      //   0	125	1	paramIMediaCacheSourceBasicPerSourceInfo	IMediaCacheSourceBasicPerSourceInfo
      //   7	42	2	str	String
      //   11	17	3	localException	Exception
      // Exception table:
      //   from	to	target	type
      //   36	125	11	java/lang/Exception
    }
  }
  
  class SourceNotifier
    implements IMediaCacheSourceNotify
  {
    SourceNotifier() {}
    
    public void onMediaCacheSourceCreate(IMediaCacheSource paramIMediaCacheSource)
    {
      String str = MediaCacheAdminMonitorBasic.a(MediaCacheAdminMonitorBasic.this);
      for (;;)
      {
        return;
        for (;; ) {
          break;
        }
        WMSLoggerFactory.getLogger(MediaCacheAdminMonitor.class).error(JSON.copyValueOf("\000++90\02127=3\026<435\0212064.0m++\013\", +\b-.&*\003>'!70\025%=8.>|", 76 + 1), localException);
      }
    }
    
    /* Error */
    public void onMediaCacheSourceDestory(IMediaCacheSource paramIMediaCacheSource)
    {
      // Byte code:
      //   0: aload_0
      //   1: getfield 19	com/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic$SourceNotifier:a	Lcom/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic;
      //   4: invokestatic 29	com/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic:a	(Lcom/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic;)Ljava/lang/String;
      //   7: astore_2
      //   8: goto +30 -> 38
      //   11: return
      //   12: astore_3
      //   13: ldc 89
      //   15: invokestatic 95	com/wowza/wms/logging/WMSLoggerFactory:getLogger	(Ljava/lang/Class;)Lcom/wowza/wms/logging/WMSLogger;
      //   18: bipush 69
      //   20: bipush -43
      //   22: iadd
      //   23: ldc 108
      //   25: invokestatic 64	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
      //   28: aload_3
      //   29: invokevirtual 103	com/wowza/wms/logging/WMSLogger:error	(Ljava/lang/String;Ljava/lang/Throwable;)V
      //   32: goto -21 -> 11
      //   35: goto -24 -> 11
      //   38: aconst_null
      //   39: aconst_null
      //   40: invokestatic 35	org/apache/commons/modeler/Registry:getRegistry	(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/commons/modeler/Registry;
      //   43: new 37	java/lang/StringBuilder
      //   46: dup
      //   47: invokespecial 38	java/lang/StringBuilder:<init>	()V
      //   50: aload_2
      //   51: invokevirtual 42	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   54: ldc 110
      //   56: bipush 37
      //   58: bipush 27
      //   60: imul
      //   61: invokestatic 50	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
      //   64: invokevirtual 42	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   67: aload_1
      //   68: invokeinterface 56 1 0
      //   73: invokevirtual 42	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   76: bipush 9
      //   78: bipush 33
      //   80: swap
      //   81: imul
      //   82: ldc 112
      //   84: invokestatic 64	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
      //   87: invokevirtual 42	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
      //   90: invokevirtual 67	java/lang/StringBuilder:toString	()Ljava/lang/String;
      //   93: invokevirtual 116	org/apache/commons/modeler/Registry:unregisterComponent	(Ljava/lang/String;)V
      //   96: goto -61 -> 35
      // Line number table:
      //   Java source line #118	-> byte code offset #0
      //   Java source line #127	-> byte code offset #11
      //   Java source line #123	-> byte code offset #12
      //   Java source line #125	-> byte code offset #13
      //   Java source line #126	-> byte code offset #35
      //   Java source line #121	-> byte code offset #38
      // Local variable table:
      //   start	length	slot	name	signature
      //   0	99	0	this	SourceNotifier
      //   0	99	1	paramIMediaCacheSource	IMediaCacheSource
      //   7	44	2	str	String
      //   12	17	3	localException	Exception
      // Exception table:
      //   from	to	target	type
      //   38	99	12	java/lang/Exception
    }
  }
  
  public void setPostFix(String paramString)
  {
    d = paramString;
  }
  
  public MediaCacheAdminMonitorBasic(MediaCache paramMediaCache)
  {
    a = paramMediaCache;
  }
  
  private final String a()
  {
    return JSON.copyValueOf("\021(?3+\0308?+.=8<4\021;1>6<`6997>C`aka8Kbl`kHmnfj", 11 - 37) + URLUtils.encodeValue(d) + ",";
  }
  
  public void init()
  {
    String str = a();
    for (;;)
    {
      c = new SourceNotifier();
      a.addSourceListener(c);
      b = new StoreNotifier();
      a.addStoreListener(b);
      return;
      for (;; ) {
        break;
      }
      WMSLoggerFactory.getLogger(MediaCacheAdminMonitor.class).error(Base64.endsWith(121 + 26, "^qqv[xysy\\zrioOljlrhz'ceey."), localException);
    }
  }
  
  /* Error */
  public void shutdown()
  {
    // Byte code:
    //   0: aload_0
    //   1: getfield 33	com/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic:a	Lcom/wowza/wms/mediacache/model/MediaCache;
    //   4: aload_0
    //   5: getfield 37	com/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic:c	Lcom/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic$SourceNotifier;
    //   8: invokevirtual 152	com/wowza/wms/mediacache/model/MediaCache:removeSourceListener	(Lcom/wowza/wms/mediacache/model/IMediaCacheSourceNotify;)Z
    //   11: pop
    //   12: aload_0
    //   13: getfield 33	com/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic:a	Lcom/wowza/wms/mediacache/model/MediaCache;
    //   16: aload_0
    //   17: getfield 35	com/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic:b	Lcom/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic$StoreNotifier;
    //   20: invokevirtual 156	com/wowza/wms/mediacache/model/MediaCache:removeStoreListener	(Lcom/wowza/wms/mediacache/model/IMediaCacheStoreNotify;)Z
    //   23: pop
    //   24: aload_0
    //   25: invokespecial 71	com/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic:a	()Ljava/lang/String;
    //   28: astore_1
    //   29: goto +26 -> 55
    //   32: astore_2
    //   33: ldc -125
    //   35: invokestatic 137	com/wowza/wms/logging/WMSLoggerFactory:getLogger	(Ljava/lang/Class;)Lcom/wowza/wms/logging/WMSLogger;
    //   38: ldc -98
    //   40: bipush 7
    //   42: bipush 29
    //   44: imul
    //   45: invokestatic 51	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
    //   48: aload_2
    //   49: invokevirtual 145	com/wowza/wms/logging/WMSLogger:error	(Ljava/lang/String;Ljava/lang/Throwable;)V
    //   52: goto +148 -> 200
    //   55: aconst_null
    //   56: aconst_null
    //   57: invokestatic 91	org/apache/commons/modeler/Registry:getRegistry	(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/commons/modeler/Registry;
    //   60: new 42	java/lang/StringBuilder
    //   63: dup
    //   64: invokespecial 43	java/lang/StringBuilder:<init>	()V
    //   67: aload_1
    //   68: invokevirtual 55	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   71: ldc -96
    //   73: bipush 35
    //   75: bipush -8
    //   77: isub
    //   78: invokestatic 51	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
    //   81: invokevirtual 55	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   84: invokevirtual 66	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   87: invokevirtual 163	org/apache/commons/modeler/Registry:unregisterComponent	(Ljava/lang/String;)V
    //   90: aconst_null
    //   91: aconst_null
    //   92: invokestatic 91	org/apache/commons/modeler/Registry:getRegistry	(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/commons/modeler/Registry;
    //   95: new 42	java/lang/StringBuilder
    //   98: dup
    //   99: invokespecial 43	java/lang/StringBuilder:<init>	()V
    //   102: aload_1
    //   103: invokevirtual 55	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   106: ldc -91
    //   108: bipush 15
    //   110: bipush 57
    //   112: swap
    //   113: imul
    //   114: invokestatic 51	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
    //   117: invokevirtual 55	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   120: invokevirtual 66	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   123: invokevirtual 163	org/apache/commons/modeler/Registry:unregisterComponent	(Ljava/lang/String;)V
    //   126: aconst_null
    //   127: aconst_null
    //   128: invokestatic 91	org/apache/commons/modeler/Registry:getRegistry	(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/commons/modeler/Registry;
    //   131: new 42	java/lang/StringBuilder
    //   134: dup
    //   135: invokespecial 43	java/lang/StringBuilder:<init>	()V
    //   138: aload_1
    //   139: invokevirtual 55	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   142: bipush 76
    //   144: bipush -29
    //   146: iadd
    //   147: ldc -89
    //   149: invokestatic 99	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
    //   152: invokevirtual 55	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   155: invokevirtual 66	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   158: invokevirtual 163	org/apache/commons/modeler/Registry:unregisterComponent	(Ljava/lang/String;)V
    //   161: aconst_null
    //   162: aconst_null
    //   163: invokestatic 91	org/apache/commons/modeler/Registry:getRegistry	(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/commons/modeler/Registry;
    //   166: new 42	java/lang/StringBuilder
    //   169: dup
    //   170: invokespecial 43	java/lang/StringBuilder:<init>	()V
    //   173: aload_1
    //   174: invokevirtual 55	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   177: ldc -87
    //   179: sipush 169
    //   182: bipush 31
    //   184: idiv
    //   185: invokestatic 51	com/wowza/util/JSON:copyValueOf	(Ljava/lang/String;I)Ljava/lang/String;
    //   188: invokevirtual 55	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   191: invokevirtual 66	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   194: invokevirtual 163	org/apache/commons/modeler/Registry:unregisterComponent	(Ljava/lang/String;)V
    //   197: goto +4 -> 201
    //   200: return
    //   201: goto -1 -> 200
    // Line number table:
    //   Java source line #168	-> byte code offset #0
    //   Java source line #169	-> byte code offset #12
    //   Java source line #171	-> byte code offset #24
    //   Java source line #179	-> byte code offset #32
    //   Java source line #181	-> byte code offset #33
    //   Java source line #174	-> byte code offset #55
    //   Java source line #175	-> byte code offset #90
    //   Java source line #176	-> byte code offset #126
    //   Java source line #177	-> byte code offset #161
    //   Java source line #183	-> byte code offset #200
    //   Java source line #182	-> byte code offset #201
    // Local variable table:
    //   start	length	slot	name	signature
    //   0	204	0	this	MediaCacheAdminMonitorBasic
    //   28	146	1	str	String
    //   32	17	2	localException	Exception
    // Exception table:
    //   from	to	target	type
    //   55	200	32	java/lang/Exception
  }
}

/* Location:
 * Qualified Name:     com.wowza.wms.mediacache.impl.MediaCacheAdminMonitorBasic
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package com.wowza.wms.mediacache.impl;

import com.wowza.wms.mediacache.model.IMediaCacheSource;

class MediaCacheAdminMonitorBasic$SourceInfoNotifier
  implements IMediaCacheSourceBasicPerSourceInfoListener
{
  IMediaCacheSource a = null;
  
  public MediaCacheAdminMonitorBasic$SourceInfoNotifier(MediaCacheAdminMonitorBasic paramMediaCacheAdminMonitorBasic, IMediaCacheSource paramIMediaCacheSource)
  {
    a = paramIMediaCacheSource;
  }
  
  /* Error */
  public void onPerSourceInfoAdd(IMediaCacheSourceBasicPerSourceInfo paramIMediaCacheSourceBasicPerSourceInfo)
  {
    // Byte code:
    //   0: aload_0
    //   1: getfield 18	com/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic$SourceInfoNotifier:b	Lcom/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic;
    //   4: invokestatic 30	com/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic:a	(Lcom/wowza/wms/mediacache/impl/MediaCacheAdminMonitorBasic;)Ljava/lang/String;
    //   7: astore_2
    //   8: goto +29 -> 37
    //   11: return
    //   12: astore_3
    //   13: ldc 32
    //   15: invokestatic 38	com/wowza/wms/logging/WMSLoggerFactory:getLogger	(Ljava/lang/Class;)Lcom/wowza/wms/logging/WMSLogger;
    //   18: bipush 9
    //   20: dup
    //   21: imul
    //   22: ldc 40
    //   24: invokestatic 46	com/wowza/util/Base64:endsWith	(ILjava/lang/String;)Ljava/lang/String;
    //   27: aload_3
    //   28: invokevirtual 52	com/wowza/wms/logging/WMSLogger:error	(Ljava/lang/String;Ljava/lang/Throwable;)V
    //   31: goto -20 -> 11
    //   34: goto -23 -> 11
    //   37: aload_1
    //   38: invokeinterface 58 1 0
    //   43: astore_3
    //   44: aload_3
    //   45: ifnonnull +6 -> 51
    //   48: goto +97 -> 145
    //   51: aload_3
    //   52: invokestatic 64	com/wowza/util/URLUtils:encodeValue	(Ljava/lang/String;)Ljava/lang/String;
    //   55: as
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32

Further reading...

For more information on Java 1.5 Tiger, you may find Java 1.5 Tiger, A developer's Notebook by D. Flanagan and B. McLaughlin from O'Reilly of interest.

New!JAR listings


Copyright 2006-2019. Infinite Loop Ltd