public class org.apache.activemq.openwire.OpenWireFormatFactory extends java.lang.Object implements org.apache.activemq.wireformat.WireFormatFactory
{
private int version;
private boolean stackTraceEnabled;
private boolean tcpNoDelayEnabled;
private boolean cacheEnabled;
private boolean tightEncodingEnabled;
private boolean sizePrefixDisabled;
private long maxInactivityDuration;
private long maxInactivityDurationInitalDelay;
private int cacheSize;
private long maxFrameSize;
private boolean maxFrameSizeEnabled;
private java.lang.String host;
private java.lang.String providerName;
private java.lang.String providerVersion;
private java.lang.String platformDetails;
private boolean includePlatformDetails;
public void <init>()
{
java.lang.String v;
org.apache.activemq.openwire.OpenWireFormatFactory v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<org.apache.activemq.openwire.OpenWireFormatFactory: int version> = 12;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean stackTraceEnabled> = 1;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean tcpNoDelayEnabled> = 1;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean cacheEnabled> = 1;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean tightEncodingEnabled> = 1;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: long maxInactivityDuration> = 30000L;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: long maxInactivityDurationInitalDelay> = 10000L;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: int cacheSize> = 1024;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: long maxFrameSize> = 9223372036854775807L;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean maxFrameSizeEnabled> = 1;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: java.lang.String host> = null;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: java.lang.String providerName> = "ActiveMQ";
v = <org.apache.activemq.ActiveMQConnectionMetaData: java.lang.String PROVIDER_VERSION>;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: java.lang.String providerVersion> = v;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: java.lang.String platformDetails> = "Java";
v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean includePlatformDetails> = 0;
return;
}
public org.apache.activemq.wireformat.WireFormat createWireFormat()
{
java.lang.IllegalStateException v;
long v, v, v, v;
int v, v, v;
java.lang.String v, v, v, v, v, v;
boolean v, v, v, v, v, v, v, v;
org.apache.activemq.openwire.OpenWireFormatFactory v;
java.lang.Exception v;
org.apache.activemq.openwire.OpenWireFormat v;
org.apache.activemq.command.WireFormatInfo v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v = new org.apache.activemq.command.WireFormatInfo;
specialinvoke v.<org.apache.activemq.command.WireFormatInfo: void <init>()>();
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: int version>;
virtualinvoke v.<org.apache.activemq.command.WireFormatInfo: void setVersion(int)>(v);
label:
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean stackTraceEnabled>;
virtualinvoke v.<org.apache.activemq.command.WireFormatInfo: void setStackTraceEnabled(boolean)>(v);
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean cacheEnabled>;
virtualinvoke v.<org.apache.activemq.command.WireFormatInfo: void setCacheEnabled(boolean)>(v);
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean tcpNoDelayEnabled>;
virtualinvoke v.<org.apache.activemq.command.WireFormatInfo: void setTcpNoDelayEnabled(boolean)>(v);
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean tightEncodingEnabled>;
virtualinvoke v.<org.apache.activemq.command.WireFormatInfo: void setTightEncodingEnabled(boolean)>(v);
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean sizePrefixDisabled>;
virtualinvoke v.<org.apache.activemq.command.WireFormatInfo: void setSizePrefixDisabled(boolean)>(v);
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: long maxInactivityDuration>;
virtualinvoke v.<org.apache.activemq.command.WireFormatInfo: void setMaxInactivityDuration(long)>(v);
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: long maxInactivityDurationInitalDelay>;
virtualinvoke v.<org.apache.activemq.command.WireFormatInfo: void setMaxInactivityDurationInitalDelay(long)>(v);
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: int cacheSize>;
virtualinvoke v.<org.apache.activemq.command.WireFormatInfo: void setCacheSize(int)>(v);
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: long maxFrameSize>;
virtualinvoke v.<org.apache.activemq.command.WireFormatInfo: void setMaxFrameSize(long)>(v);
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean maxFrameSizeEnabled>;
virtualinvoke v.<org.apache.activemq.command.WireFormatInfo: void setMaxFrameSizeEnabled(boolean)>(v);
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: java.lang.String host>;
if v == null goto label;
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: java.lang.String host>;
virtualinvoke v.<org.apache.activemq.command.WireFormatInfo: void setHost(java.lang.String)>(v);
label:
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: java.lang.String providerName>;
virtualinvoke v.<org.apache.activemq.command.WireFormatInfo: void setProviderName(java.lang.String)>(v);
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: java.lang.String providerVersion>;
virtualinvoke v.<org.apache.activemq.command.WireFormatInfo: void setProviderVersion(java.lang.String)>(v);
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean includePlatformDetails>;
if v == 0 goto label;
v = <org.apache.activemq.ActiveMQConnectionMetaData: java.lang.String PLATFORM_DETAILS>;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: java.lang.String platformDetails> = v;
label:
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: java.lang.String platformDetails>;
virtualinvoke v.<org.apache.activemq.command.WireFormatInfo: void setPlatformDetails(java.lang.String)>(v);
label:
goto label;
label:
v := @caughtexception;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>("Could not configure WireFormatInfo");
virtualinvoke v.<java.lang.IllegalStateException: java.lang.Throwable initCause(java.lang.Throwable)>(v);
throw v;
label:
v = new org.apache.activemq.openwire.OpenWireFormat;
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: int version>;
specialinvoke v.<org.apache.activemq.openwire.OpenWireFormat: void <init>(int)>(v);
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: long maxFrameSize>;
virtualinvoke v.<org.apache.activemq.openwire.OpenWireFormat: void setMaxFrameSize(long)>(v);
virtualinvoke v.<org.apache.activemq.openwire.OpenWireFormat: void setPreferedWireFormatInfo(org.apache.activemq.command.WireFormatInfo)>(v);
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean maxFrameSizeEnabled>;
virtualinvoke v.<org.apache.activemq.openwire.OpenWireFormat: void setMaxFrameSizeEnabled(boolean)>(v);
return v;
catch java.lang.Exception from label to label with label;
}
public boolean isStackTraceEnabled()
{
org.apache.activemq.openwire.OpenWireFormatFactory v;
boolean v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean stackTraceEnabled>;
return v;
}
public void setStackTraceEnabled(boolean)
{
org.apache.activemq.openwire.OpenWireFormatFactory v;
boolean v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v := @parameter: boolean;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean stackTraceEnabled> = v;
return;
}
public boolean isTcpNoDelayEnabled()
{
org.apache.activemq.openwire.OpenWireFormatFactory v;
boolean v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean tcpNoDelayEnabled>;
return v;
}
public void setTcpNoDelayEnabled(boolean)
{
org.apache.activemq.openwire.OpenWireFormatFactory v;
boolean v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v := @parameter: boolean;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean tcpNoDelayEnabled> = v;
return;
}
public int getVersion()
{
int v;
org.apache.activemq.openwire.OpenWireFormatFactory v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: int version>;
return v;
}
public void setVersion(int)
{
int v;
org.apache.activemq.openwire.OpenWireFormatFactory v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v := @parameter: int;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: int version> = v;
return;
}
public boolean isCacheEnabled()
{
org.apache.activemq.openwire.OpenWireFormatFactory v;
boolean v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean cacheEnabled>;
return v;
}
public void setCacheEnabled(boolean)
{
org.apache.activemq.openwire.OpenWireFormatFactory v;
boolean v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v := @parameter: boolean;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean cacheEnabled> = v;
return;
}
public boolean isTightEncodingEnabled()
{
org.apache.activemq.openwire.OpenWireFormatFactory v;
boolean v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean tightEncodingEnabled>;
return v;
}
public void setTightEncodingEnabled(boolean)
{
org.apache.activemq.openwire.OpenWireFormatFactory v;
boolean v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v := @parameter: boolean;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean tightEncodingEnabled> = v;
return;
}
public boolean isSizePrefixDisabled()
{
org.apache.activemq.openwire.OpenWireFormatFactory v;
boolean v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean sizePrefixDisabled>;
return v;
}
public void setSizePrefixDisabled(boolean)
{
org.apache.activemq.openwire.OpenWireFormatFactory v;
boolean v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v := @parameter: boolean;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean sizePrefixDisabled> = v;
return;
}
public long getMaxInactivityDuration()
{
long v;
org.apache.activemq.openwire.OpenWireFormatFactory v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: long maxInactivityDuration>;
return v;
}
public void setMaxInactivityDuration(long)
{
long v;
org.apache.activemq.openwire.OpenWireFormatFactory v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v := @parameter: long;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: long maxInactivityDuration> = v;
return;
}
public int getCacheSize()
{
int v;
org.apache.activemq.openwire.OpenWireFormatFactory v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: int cacheSize>;
return v;
}
public void setCacheSize(int)
{
int v;
org.apache.activemq.openwire.OpenWireFormatFactory v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v := @parameter: int;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: int cacheSize> = v;
return;
}
public long getMaxInactivityDurationInitalDelay()
{
long v;
org.apache.activemq.openwire.OpenWireFormatFactory v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: long maxInactivityDurationInitalDelay>;
return v;
}
public void setMaxInactivityDurationInitalDelay(long)
{
long v;
org.apache.activemq.openwire.OpenWireFormatFactory v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v := @parameter: long;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: long maxInactivityDurationInitalDelay> = v;
return;
}
public long getMaxFrameSize()
{
long v;
org.apache.activemq.openwire.OpenWireFormatFactory v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: long maxFrameSize>;
return v;
}
public void setMaxFrameSize(long)
{
long v;
org.apache.activemq.openwire.OpenWireFormatFactory v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v := @parameter: long;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: long maxFrameSize> = v;
return;
}
public java.lang.String getHost()
{
java.lang.String v;
org.apache.activemq.openwire.OpenWireFormatFactory v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: java.lang.String host>;
return v;
}
public void setHost(java.lang.String)
{
java.lang.String v;
org.apache.activemq.openwire.OpenWireFormatFactory v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v := @parameter: java.lang.String;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: java.lang.String host> = v;
return;
}
public java.lang.String getProviderName()
{
java.lang.String v;
org.apache.activemq.openwire.OpenWireFormatFactory v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: java.lang.String providerName>;
return v;
}
public void setProviderName(java.lang.String)
{
java.lang.String v;
org.apache.activemq.openwire.OpenWireFormatFactory v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v := @parameter: java.lang.String;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: java.lang.String providerName> = v;
return;
}
public java.lang.String getProviderVersion()
{
java.lang.String v;
org.apache.activemq.openwire.OpenWireFormatFactory v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: java.lang.String providerVersion>;
return v;
}
public void setProviderVersion(java.lang.String)
{
java.lang.String v;
org.apache.activemq.openwire.OpenWireFormatFactory v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v := @parameter: java.lang.String;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: java.lang.String providerVersion> = v;
return;
}
public java.lang.String getPlatformDetails()
{
java.lang.String v;
org.apache.activemq.openwire.OpenWireFormatFactory v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: java.lang.String platformDetails>;
return v;
}
public void setPlatformDetails(java.lang.String)
{
java.lang.String v;
org.apache.activemq.openwire.OpenWireFormatFactory v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v := @parameter: java.lang.String;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: java.lang.String platformDetails> = v;
return;
}
public boolean isIncludePlatformDetails()
{
org.apache.activemq.openwire.OpenWireFormatFactory v;
boolean v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean includePlatformDetails>;
return v;
}
public void setIncludePlatformDetails(boolean)
{
org.apache.activemq.openwire.OpenWireFormatFactory v;
boolean v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v := @parameter: boolean;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean includePlatformDetails> = v;
return;
}
public void setMaxFrameSizeEnabled(boolean)
{
org.apache.activemq.openwire.OpenWireFormatFactory v;
boolean v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v := @parameter: boolean;
v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean maxFrameSizeEnabled> = v;
return;
}
public boolean isMaxFrameSizeEnabled()
{
org.apache.activemq.openwire.OpenWireFormatFactory v;
boolean v;
v := @this: org.apache.activemq.openwire.OpenWireFormatFactory;
v = v.<org.apache.activemq.openwire.OpenWireFormatFactory: boolean maxFrameSizeEnabled>;
return v;
}
}