Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2423 - in development/laboratory/users/niclas/iso8583: . api/src/main/net/dpml/iso8583/channels authorization/src/main/net/dpml/iso8583/authorization/impl channels/src/main/net/dpml/iso8583/comm

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: niclas AT hedhman.org
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r2423 - in development/laboratory/users/niclas/iso8583: . api/src/main/net/dpml/iso8583/channels authorization/src/main/net/dpml/iso8583/authorization/impl channels/src/main/net/dpml/iso8583/comm
  • Date: Tue, 26 Apr 2005 20:08:22 -0400

Author: niclas AT hedhman.org
Date: Tue Apr 26 20:08:17 2005
New Revision: 2423

Added:

development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/

development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/AsciiChannel.java

development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/Base24Channel.java

development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/Base24TcpChannel.java

development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/ConfigHelper.java

development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/CsChannel.java

development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/LogChannel.java

development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/LoopbackChannel.java

development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/NacChannel.java

development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/NccChannel.java

development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/PadChannel.java

development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/PostChannel.java

development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/RawChannel.java

development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/VapChannel.java

development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/X25Channel.java

development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/XmlChannel.java
Removed:

development/laboratory/users/niclas/iso8583/api/src/main/net/dpml/iso8583/channels/ChannelManager.java
Modified:

development/laboratory/users/niclas/iso8583/authorization/src/main/net/dpml/iso8583/authorization/impl/DefaultAuthorization.java
development/laboratory/users/niclas/iso8583/iso8583.iws
Log:
Better make a commit to try and figure out what is going on.

Modified:
development/laboratory/users/niclas/iso8583/authorization/src/main/net/dpml/iso8583/authorization/impl/DefaultAuthorization.java
==============================================================================
---
development/laboratory/users/niclas/iso8583/authorization/src/main/net/dpml/iso8583/authorization/impl/DefaultAuthorization.java
(original)
+++
development/laboratory/users/niclas/iso8583/authorization/src/main/net/dpml/iso8583/authorization/impl/DefaultAuthorization.java
Tue Apr 26 20:08:17 2005
@@ -42,7 +42,6 @@
import net.dpml.iso8583.data.elements.MessageReasonCode;
import net.dpml.iso8583.data.elements.ReconciliationIndicator;
import net.dpml.iso8583.data.elements.DateReconciliation;
-import net.dpml.iso8583.channels.ChannelManager;
import net.dpml.service.ServiceManager;
import net.dpml.service.ServiceException;

@@ -56,22 +55,17 @@

private DataElementManager m_dataElementManager;
private MTI m_mti100;
- private ChannelManager m_channelManager;

/** Constructor.
*
* @param man teh container provided net.dpml.service.ServiceManager.
*
* @metro.dependency type="net.dpml.iso8583.data.MTI" key="mti100"
- * @metro.dependency type="net.dpml.iso8583.data.DataElementManager"
key="dataelement-manager"
- * @metro.dependency type="net.dpml.iso8583.channels.ChannelManager"
key="channel-manager"
*/
public DefaultAuthorization( ServiceManager man )
throws ServiceException
{
- m_dataElementManager = (DataElementManager) man.lookup(
"dataelement-manager" );
m_mti100 = (MTI) man.lookup( "mti100" );
- m_channelManager = (ChannelManager) man.lookup( "channel-manager" );
}

public boolean authorize()

Added:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/AsciiChannel.java
==============================================================================
--- (empty file)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/AsciiChannel.java
Tue Apr 26 20:08:17 2005
@@ -0,0 +1,60 @@
+/*
+* Copyright 2004-2005 Niclas Hedhman.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package net.dpml.iso8583.channels;
+
+import net.dpml.logging.Logger;
+import net.dpml.parameters.ParameterException;
+import net.dpml.parameters.Parameters;
+import net.dpml.service.ServiceException;
+import net.dpml.service.ServiceManager;
+import org.jpos.iso.ISOException;
+import org.jpos.iso.ISOPackager;
+
+import java.io.IOException;
+
+/** Metro Wrapper for the Ascii Channel in JPos.
+ *
+ * @metro.component name="ascii-channel" lifestyle="singleton"
+ * @metro.service type="org.jpos.iso.ISOChannel"
+ * @metro.service type="org.jpos.iso.FilteredChannel"
+ */
+public class AsciiChannel extends org.jpos.iso.channel.ASCIIChannel
+{
+ /**
+ * @metro.logger name="Ascii"
+ * @metro.dependency type="org.jpos.iso.ISOPackager" key="packager"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
+ * key="server-socket-factory"
+ * optional="true"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOClientSocketFactory"
+ * key="client-socket-factory"
+ * optional="true"
+ */
+ public AsciiChannel( Logger logger, ServiceManager man, Parameters
params )
+ throws ServiceException, ParameterException, IOException,
ISOException
+ {
+ super( params.getParameter( "host" ),
+ params.getParameterAsInteger( "port" ),
+ (ISOPackager) man.lookup( "packager" )
+ );
+ ConfigHelper.initialize( this, man, params );
+ }
+}
\ No newline at end of file

Added:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/Base24Channel.java
==============================================================================
--- (empty file)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/Base24Channel.java
Tue Apr 26 20:08:17 2005
@@ -0,0 +1,63 @@
+/*
+* Copyright 2004-2005 Niclas Hedhman.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package net.dpml.iso8583.channels;
+
+import java.io.IOException;
+
+import net.dpml.logging.Logger;
+
+import net.dpml.parameters.ParameterException;
+import net.dpml.parameters.Parameters;
+
+import net.dpml.service.ServiceException;
+import net.dpml.service.ServiceManager;
+
+import org.jpos.iso.ISOException;
+import org.jpos.iso.ISOPackager;
+
+/** Metro Wrapper for the BASE24 Channel in JPos.
+ *
+ * @metro.component name="base24-channel" lifestyle="singleton"
+ * @metro.service type="org.jpos.iso.ISOChannel"
+ * @metro.service type="org.jpos.iso.FilteredChannel"
+ */
+public class Base24Channel extends org.jpos.iso.channel.BASE24Channel
+{
+ /**
+ * @metro.logger name="Base24"
+ * @metro.dependency type="org.jpos.iso.ISOPackager" key="packager"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
+ * key="server-socket-factory"
+ * optional="true"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOClientSocketFactory"
+ * key="client-socket-factory"
+ * optional="true"
+ */
+ public Base24Channel( Logger logger, ServiceManager man, Parameters
params )
+ throws ServiceException, ParameterException, IOException,
ISOException
+ {
+ super( params.getParameter( "host" ),
+ params.getParameterAsInteger( "port" ),
+ (ISOPackager) man.lookup( "packager" )
+ );
+ ConfigHelper.initialize( this, man, params );
+ }
+}
\ No newline at end of file

Added:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/Base24TcpChannel.java
==============================================================================
--- (empty file)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/Base24TcpChannel.java
Tue Apr 26 20:08:17 2005
@@ -0,0 +1,63 @@
+/*
+* Copyright 2004-2005 Niclas Hedhman.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package net.dpml.iso8583.channels;
+
+import java.io.IOException;
+
+import net.dpml.logging.Logger;
+
+import net.dpml.parameters.ParameterException;
+import net.dpml.parameters.Parameters;
+
+import net.dpml.service.ServiceException;
+import net.dpml.service.ServiceManager;
+
+import org.jpos.iso.ISOException;
+import org.jpos.iso.ISOPackager;
+
+/** Metro Wrapper for the BASE24 TCP Channel in JPos.
+ *
+ * @metro.component name="base24-tcp-channel" lifestyle="singleton"
+ * @metro.service type="org.jpos.iso.ISOChannel"
+ * @metro.service type="org.jpos.iso.FilteredChannel"
+ */
+public class Base24TcpChannel extends org.jpos.iso.channel.BASE24TCPChannel
+{
+ /**
+ * @metro.logger name="Base24Tcp"
+ * @metro.dependency type="org.jpos.iso.ISOPackager" key="packager"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
+ * key="server-socket-factory"
+ * optional="true"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOClientSocketFactory"
+ * key="client-socket-factory"
+ * optional="true"
+ */
+ public Base24TcpChannel( Logger logger, ServiceManager man, Parameters
params )
+ throws ServiceException, ParameterException, IOException,
ISOException
+ {
+ super( params.getParameter( "host" ),
+ params.getParameterAsInteger( "port" ),
+ (ISOPackager) man.lookup( "packager" )
+ );
+ ConfigHelper.initialize( this, man, params );
+ }
+}
\ No newline at end of file

Added:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/ConfigHelper.java
==============================================================================
--- (empty file)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/ConfigHelper.java
Tue Apr 26 20:08:17 2005
@@ -0,0 +1,63 @@
+/*
+* Copyright 2004-2005 Niclas Hedhman.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package net.dpml.iso8583.channels;
+
+import java.io.IOException;
+
+import java.net.ServerSocket;
+
+import net.dpml.parameters.ParameterException;
+import net.dpml.parameters.Parameters;
+
+import net.dpml.service.ServiceException;
+import net.dpml.service.ServiceManager;
+
+import org.jpos.iso.BaseChannel;
+import org.jpos.iso.ISOException;
+import org.jpos.iso.ISOServerSocketFactory;
+import org.jpos.iso.ISOClientSocketFactory;
+
+class ConfigHelper
+{
+ static void initialize( BaseChannel ch, ServiceManager man, Parameters
params )
+ throws ServiceException, ParameterException, IOException,
ISOException
+ {
+ if( man.hasService( "server-socket-factory" ) )
+ {
+ ISOServerSocketFactory ssf = (ISOServerSocketFactory)
man.lookup( "server-socket-factory" );
+ ServerSocket socket = ssf.createServerSocket( ch.getPort() );
+ ch.setServerSocket( socket );
+ }
+ if( man.hasService( "client-socket-factory" ) )
+ {
+ ISOClientSocketFactory csf = (ISOClientSocketFactory)
man.lookup( "client-socket-factory" );
+ ch.setSocketFactory( csf );
+ }
+ int timeout = params.getParameterAsInteger( "timeout",
Integer.MIN_VALUE );
+ if( timeout != Integer.MIN_VALUE )
+ {
+ ch.setTimeout( timeout );
+ }
+ String header = params.getParameter( "header", null );
+ if( header != null )
+ {
+ ch.setHeader( header );
+ }
+ }
+}

Added:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/CsChannel.java
==============================================================================
--- (empty file)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/CsChannel.java
Tue Apr 26 20:08:17 2005
@@ -0,0 +1,63 @@
+/*
+* Copyright 2004-2005 Niclas Hedhman.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package net.dpml.iso8583.channels;
+
+import java.io.IOException;
+
+import net.dpml.logging.Logger;
+
+import net.dpml.parameters.ParameterException;
+import net.dpml.parameters.Parameters;
+
+import net.dpml.service.ServiceException;
+import net.dpml.service.ServiceManager;
+
+import org.jpos.iso.ISOException;
+import org.jpos.iso.ISOPackager;
+
+/** Metro Wrapper for the CS Channel in JPos.
+ *
+ * @metro.component name="cs-channel" lifestyle="singleton"
+ * @metro.service type="org.jpos.iso.ISOChannel"
+ * @metro.service type="org.jpos.iso.FilteredChannel"
+ */
+public class CsChannel extends org.jpos.iso.channel.CSChannel
+{
+ /**
+ * @metro.logger name="CS"
+ * @metro.dependency type="org.jpos.iso.ISOPackager" key="packager"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
+ * key="server-socket-factory"
+ * optional="true"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOClientSocketFactory"
+ * key="client-socket-factory"
+ * optional="true"
+ */
+ public CsChannel( Logger logger, ServiceManager man, Parameters params )
+ throws ServiceException, ParameterException, IOException,
ISOException
+ {
+ super( params.getParameter( "host" ),
+ params.getParameterAsInteger( "port" ),
+ (ISOPackager) man.lookup( "packager" )
+ );
+ ConfigHelper.initialize( this, man, params );
+ }
+}
\ No newline at end of file

Added:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/LogChannel.java
==============================================================================
--- (empty file)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/LogChannel.java
Tue Apr 26 20:08:17 2005
@@ -0,0 +1,63 @@
+/*
+* Copyright 2004-2005 Niclas Hedhman.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package net.dpml.iso8583.channels;
+
+import java.io.IOException;
+
+import net.dpml.logging.Logger;
+
+import net.dpml.parameters.ParameterException;
+import net.dpml.parameters.Parameters;
+
+import net.dpml.service.ServiceException;
+import net.dpml.service.ServiceManager;
+
+import org.jpos.iso.ISOException;
+import org.jpos.iso.ISOPackager;
+
+/** Metro Wrapper for the Log Channel in JPos.
+ *
+ * @metro.component name="log-channel" lifestyle="singleton"
+ * @metro.service type="org.jpos.iso.ISOChannel"
+ * @metro.service type="org.jpos.iso.FilteredChannel"
+ */
+public class LogChannel extends org.jpos.iso.channel.LogChannel
+{
+ /**
+ * @metro.logger name="Log"
+ * @metro.dependency type="org.jpos.iso.ISOPackager" key="packager"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
+ * key="server-socket-factory"
+ * optional="true"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOClientSocketFactory"
+ * key="client-socket-factory"
+ * optional="true"
+ */
+ public LogChannel( Logger logger, ServiceManager man, Parameters params )
+ throws ServiceException, ParameterException, IOException,
ISOException
+ {
+ super( params.getParameter( "host" ),
+ params.getParameterAsInteger( "port" ),
+ (ISOPackager) man.lookup( "packager" )
+ );
+ ConfigHelper.initialize( this, man, params );
+ }
+}
\ No newline at end of file

Added:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/LoopbackChannel.java
==============================================================================
--- (empty file)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/LoopbackChannel.java
Tue Apr 26 20:08:17 2005
@@ -0,0 +1,38 @@
+/*
+* Copyright 2004-2005 Niclas Hedhman.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package net.dpml.iso8583.channels;
+
+import net.dpml.logging.Logger;
+
+/** Metro Wrapper for the Loopback Channel in JPos.
+ *
+ * @metro.component name="loopback-channel" lifestyle="singleton"
+ * @metro.service type="org.jpos.iso.ISOChannel"
+ * @metro.service type="org.jpos.iso.FilteredChannel"
+ */
+public class LoopbackChannel extends org.jpos.iso.channel.LoopbackChannel
+{
+ /**
+ * @metro.logger name="Loopback"
+ */
+ public LoopbackChannel( Logger logger )
+ {
+ super();
+ }
+}
\ No newline at end of file

Added:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/NacChannel.java
==============================================================================
--- (empty file)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/NacChannel.java
Tue Apr 26 20:08:17 2005
@@ -0,0 +1,81 @@
+/*
+* Copyright 2004-2005 Niclas Hedhman.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package net.dpml.iso8583.channels;
+
+import java.io.IOException;
+
+import java.util.StringTokenizer;
+
+import net.dpml.logging.Logger;
+
+import net.dpml.parameters.ParameterException;
+import net.dpml.parameters.Parameters;
+
+import net.dpml.service.ServiceException;
+import net.dpml.service.ServiceManager;
+
+import org.jpos.iso.ISOException;
+import org.jpos.iso.ISOPackager;
+
+/** Metro Wrapper for the NAC Channel in JPos.
+ *
+ * @metro.component name="nac-channel" lifestyle="singleton"
+ * @metro.service type="org.jpos.iso.ISOChannel"
+ * @metro.service type="org.jpos.iso.FilteredChannel"
+ */
+public class NacChannel extends org.jpos.iso.channel.NACChannel
+{
+ /**
+ * @metro.logger name="NAC"
+ * @metro.dependency type="org.jpos.iso.ISOPackager" key="packager"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
+ * key="server-socket-factory"
+ * optional="true"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOClientSocketFactory"
+ * key="client-socket-factory"
+ * optional="true"
+ */
+ public NacChannel( Logger logger, ServiceManager man, Parameters params )
+ throws ServiceException, ParameterException, IOException,
ISOException
+ {
+ super( params.getParameter( "host" ),
+ params.getParameterAsInteger( "port" ),
+ (ISOPackager) man.lookup( "packager" ),
+ convertByteArray( params )
+ );
+ ConfigHelper.initialize( this, man, params );
+ }
+
+ private static byte[] convertByteArray( Parameters params )
+ throws ParameterException
+ {
+ String values = params.getParameter( "tpdu" );
+ StringTokenizer st = new StringTokenizer( values, ", ", false );
+ int size = st.countTokens();
+ byte[] result = new byte[ size ];
+ for( int i = 0; st.hasMoreTokens(); i++ )
+ {
+ String token = st.nextToken();
+ result[ i ] = Byte.parseByte( token, 16 );
+ }
+ return result;
+ }
+}
\ No newline at end of file

Added:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/NccChannel.java
==============================================================================
--- (empty file)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/NccChannel.java
Tue Apr 26 20:08:17 2005
@@ -0,0 +1,81 @@
+/*
+* Copyright 2004-2005 Niclas Hedhman.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package net.dpml.iso8583.channels;
+
+import java.io.IOException;
+
+import java.util.StringTokenizer;
+
+import net.dpml.logging.Logger;
+
+import net.dpml.parameters.ParameterException;
+import net.dpml.parameters.Parameters;
+
+import net.dpml.service.ServiceException;
+import net.dpml.service.ServiceManager;
+
+import org.jpos.iso.ISOException;
+import org.jpos.iso.ISOPackager;
+
+/** Metro Wrapper for the NCC Channel in JPos.
+ *
+ * @metro.component name="ncc-channel" lifestyle="singleton"
+ * @metro.service type="org.jpos.iso.ISOChannel"
+ * @metro.service type="org.jpos.iso.FilteredChannel"
+ */
+public class NccChannel extends org.jpos.iso.channel.NCCChannel
+{
+ /**
+ * @metro.logger name="NCC"
+ * @metro.dependency type="org.jpos.iso.ISOPackager" key="packager"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
+ * key="server-socket-factory"
+ * optional="true"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOClientSocketFactory"
+ * key="client-socket-factory"
+ * optional="true"
+ */
+ public NccChannel( Logger logger, ServiceManager man, Parameters params )
+ throws ServiceException, ParameterException, IOException,
ISOException
+ {
+ super( params.getParameter( "host" ),
+ params.getParameterAsInteger( "port" ),
+ (ISOPackager) man.lookup( "packager" ),
+ convertByteArray( params )
+ );
+ ConfigHelper.initialize( this, man, params );
+ }
+
+ private static byte[] convertByteArray( Parameters params )
+ throws ParameterException
+ {
+ String values = params.getParameter( "tpdu" );
+ StringTokenizer st = new StringTokenizer( values, ", ", false );
+ int size = st.countTokens();
+ byte[] result = new byte[ size ];
+ for( int i = 0; st.hasMoreTokens(); i++ )
+ {
+ String token = st.nextToken();
+ result[ i ] = Byte.parseByte( token, 16 );
+ }
+ return result;
+ }
+}
\ No newline at end of file

Added:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/PadChannel.java
==============================================================================
--- (empty file)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/PadChannel.java
Tue Apr 26 20:08:17 2005
@@ -0,0 +1,63 @@
+/*
+* Copyright 2004-2005 Niclas Hedhman.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package net.dpml.iso8583.channels;
+
+import java.io.IOException;
+
+import net.dpml.logging.Logger;
+
+import net.dpml.parameters.ParameterException;
+import net.dpml.parameters.Parameters;
+
+import net.dpml.service.ServiceException;
+import net.dpml.service.ServiceManager;
+
+import org.jpos.iso.ISOException;
+import org.jpos.iso.ISOPackager;
+
+/** Metro Wrapper for the x.25 PAD Channel in JPos.
+ *
+ * @metro.component name="pad-channel" lifestyle="singleton"
+ * @metro.service type="org.jpos.iso.ISOChannel"
+ * @metro.service type="org.jpos.iso.FilteredChannel"
+ */
+public class PadChannel extends org.jpos.iso.channel.PADChannel
+{
+ /**
+ * @metro.logger name="PAD"
+ * @metro.dependency type="org.jpos.iso.ISOPackager" key="packager"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
+ * key="server-socket-factory"
+ * optional="true"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOClientSocketFactory"
+ * key="client-socket-factory"
+ * optional="true"
+ */
+ public PadChannel( Logger logger, ServiceManager man, Parameters params )
+ throws ServiceException, ParameterException, IOException,
ISOException
+ {
+ super( params.getParameter( "host" ),
+ params.getParameterAsInteger( "port" ),
+ (ISOPackager) man.lookup( "packager" )
+ );
+ ConfigHelper.initialize( this, man, params );
+ }
+}
\ No newline at end of file

Added:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/PostChannel.java
==============================================================================
--- (empty file)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/PostChannel.java
Tue Apr 26 20:08:17 2005
@@ -0,0 +1,63 @@
+/*
+* Copyright 2004-2005 Niclas Hedhman.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package net.dpml.iso8583.channels;
+
+import java.io.IOException;
+
+import net.dpml.logging.Logger;
+
+import net.dpml.parameters.ParameterException;
+import net.dpml.parameters.Parameters;
+
+import net.dpml.service.ServiceException;
+import net.dpml.service.ServiceManager;
+
+import org.jpos.iso.ISOException;
+import org.jpos.iso.ISOPackager;
+
+/** Metro Wrapper for the Post Channel in JPos.
+ *
+ * @metro.component name="post-channel" lifestyle="singleton"
+ * @metro.service type="org.jpos.iso.ISOChannel"
+ * @metro.service type="org.jpos.iso.FilteredChannel"
+ */
+public class PostChannel extends org.jpos.iso.channel.PostChannel
+{
+ /**
+ * @metro.logger name="Post"
+ * @metro.dependency type="org.jpos.iso.ISOPackager" key="packager"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
+ * key="server-socket-factory"
+ * optional="true"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOClientSocketFactory"
+ * key="client-socket-factory"
+ * optional="true"
+ */
+ public PostChannel( Logger logger, ServiceManager man, Parameters params
)
+ throws ServiceException, ParameterException, IOException,
ISOException
+ {
+ super( params.getParameter( "host" ),
+ params.getParameterAsInteger( "port" ),
+ (ISOPackager) man.lookup( "packager" )
+ );
+ ConfigHelper.initialize( this, man, params );
+ }
+}
\ No newline at end of file

Added:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/RawChannel.java
==============================================================================
--- (empty file)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/RawChannel.java
Tue Apr 26 20:08:17 2005
@@ -0,0 +1,81 @@
+/*
+* Copyright 2004-2005 Niclas Hedhman.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package net.dpml.iso8583.channels;
+
+import java.io.IOException;
+
+import java.util.StringTokenizer;
+
+import net.dpml.logging.Logger;
+
+import net.dpml.parameters.ParameterException;
+import net.dpml.parameters.Parameters;
+
+import net.dpml.service.ServiceException;
+import net.dpml.service.ServiceManager;
+
+import org.jpos.iso.ISOException;
+import org.jpos.iso.ISOPackager;
+
+/** Metro Wrapper for the Raw Channel in JPos.
+ *
+ * @metro.component name="raw-channel" lifestyle="singleton"
+ * @metro.service type="org.jpos.iso.ISOChannel"
+ * @metro.service type="org.jpos.iso.FilteredChannel"
+ */
+public class RawChannel extends org.jpos.iso.channel.RawChannel
+{
+ /**
+ * @metro.logger name="NCC"
+ * @metro.dependency type="org.jpos.iso.ISOPackager" key="packager"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
+ * key="server-socket-factory"
+ * optional="true"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOClientSocketFactory"
+ * key="client-socket-factory"
+ * optional="true"
+ */
+ public RawChannel( Logger logger, ServiceManager man, Parameters params )
+ throws ServiceException, ParameterException, IOException,
ISOException
+ {
+ super( params.getParameter( "host" ),
+ params.getParameterAsInteger( "port" ),
+ (ISOPackager) man.lookup( "packager" ),
+ convertByteArray( params )
+ );
+ ConfigHelper.initialize( this, man, params );
+ }
+
+ private static byte[] convertByteArray( Parameters params )
+ throws ParameterException
+ {
+ String values = params.getParameter( "header" );
+ StringTokenizer st = new StringTokenizer( values, ", ", false );
+ int size = st.countTokens();
+ byte[] result = new byte[ size ];
+ for( int i = 0; st.hasMoreTokens(); i++ )
+ {
+ String token = st.nextToken();
+ result[ i ] = Byte.parseByte( token, 16 );
+ }
+ return result;
+ }
+}
\ No newline at end of file

Added:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/VapChannel.java
==============================================================================
--- (empty file)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/VapChannel.java
Tue Apr 26 20:08:17 2005
@@ -0,0 +1,63 @@
+/*
+* Copyright 2004-2005 Niclas Hedhman.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package net.dpml.iso8583.channels;
+
+import java.io.IOException;
+
+import net.dpml.logging.Logger;
+
+import net.dpml.parameters.ParameterException;
+import net.dpml.parameters.Parameters;
+
+import net.dpml.service.ServiceException;
+import net.dpml.service.ServiceManager;
+
+import org.jpos.iso.ISOException;
+import org.jpos.iso.ISOPackager;
+
+/** Metro Wrapper for the VAP Channel in JPos.
+ *
+ * @metro.component name="vap-channel" lifestyle="singleton"
+ * @metro.service type="org.jpos.iso.ISOChannel"
+ * @metro.service type="org.jpos.iso.FilteredChannel"
+ */
+public class VapChannel extends org.jpos.iso.channel.VAPChannel
+{
+ /**
+ * @metro.logger name="VAP"
+ * @metro.dependency type="org.jpos.iso.ISOPackager" key="packager"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
+ * key="server-socket-factory"
+ * optional="true"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOClientSocketFactory"
+ * key="client-socket-factory"
+ * optional="true"
+ */
+ public VapChannel( Logger logger, ServiceManager man, Parameters params )
+ throws ServiceException, ParameterException, IOException,
ISOException
+ {
+ super( params.getParameter( "host" ),
+ params.getParameterAsInteger( "port" ),
+ (ISOPackager) man.lookup( "packager" )
+ );
+ ConfigHelper.initialize( this, man, params );
+ }
+}
\ No newline at end of file

Added:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/X25Channel.java
==============================================================================
--- (empty file)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/X25Channel.java
Tue Apr 26 20:08:17 2005
@@ -0,0 +1,63 @@
+/*
+* Copyright 2004-2005 Niclas Hedhman.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package net.dpml.iso8583.channels;
+
+import java.io.IOException;
+
+import net.dpml.logging.Logger;
+
+import net.dpml.parameters.ParameterException;
+import net.dpml.parameters.Parameters;
+
+import net.dpml.service.ServiceException;
+import net.dpml.service.ServiceManager;
+
+import org.jpos.iso.ISOException;
+import org.jpos.iso.ISOPackager;
+
+/** Metro Wrapper for the x.25 Channel in JPos.
+ *
+ * @metro.component name="x.25-channel" lifestyle="singleton"
+ * @metro.service type="org.jpos.iso.ISOChannel"
+ * @metro.service type="org.jpos.iso.FilteredChannel"
+ */
+public class X25Channel extends org.jpos.iso.channel.X25Channel
+{
+ /**
+ * @metro.logger name="x.25"
+ * @metro.dependency type="org.jpos.iso.ISOPackager" key="packager"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
+ * key="server-socket-factory"
+ * optional="true"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOClientSocketFactory"
+ * key="client-socket-factory"
+ * optional="true"
+ */
+ public X25Channel( Logger logger, ServiceManager man, Parameters params )
+ throws ServiceException, ParameterException, IOException,
ISOException
+ {
+ super( params.getParameter( "host" ),
+ params.getParameterAsInteger( "port" ),
+ (ISOPackager) man.lookup( "packager" )
+ );
+ ConfigHelper.initialize( this, man, params );
+ }
+}
\ No newline at end of file

Added:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/XmlChannel.java
==============================================================================
--- (empty file)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/comm/XmlChannel.java
Tue Apr 26 20:08:17 2005
@@ -0,0 +1,63 @@
+/*
+* Copyright 2004-2005 Niclas Hedhman.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package net.dpml.iso8583.channels;
+
+import java.io.IOException;
+
+import net.dpml.logging.Logger;
+
+import net.dpml.parameters.ParameterException;
+import net.dpml.parameters.Parameters;
+
+import net.dpml.service.ServiceException;
+import net.dpml.service.ServiceManager;
+
+import org.jpos.iso.ISOException;
+import org.jpos.iso.ISOPackager;
+
+/** Metro Wrapper for the x.25 Channel in JPos.
+ *
+ * @metro.component name="xml-channel" lifestyle="singleton"
+ * @metro.service type="org.jpos.iso.ISOChannel"
+ * @metro.service type="org.jpos.iso.FilteredChannel"
+ */
+public class XmlChannel extends org.jpos.iso.channel.XMLChannel
+{
+ /**
+ * @metro.logger name="XML"
+ * @metro.dependency type="org.jpos.iso.ISOPackager" key="packager"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
+ * key="server-socket-factory"
+ * optional="true"
+ *
+ * @metro.dependency type="org.jpos.iso.ISOClientSocketFactory"
+ * key="client-socket-factory"
+ * optional="true"
+ */
+ public XmlChannel( Logger logger, ServiceManager man, Parameters params )
+ throws ServiceException, ParameterException, IOException,
ISOException
+ {
+ super( params.getParameter( "host" ),
+ params.getParameterAsInteger( "port" ),
+ (ISOPackager) man.lookup( "packager" )
+ );
+ ConfigHelper.initialize( this, man, params );
+ }
+}
\ No newline at end of file

Modified: development/laboratory/users/niclas/iso8583/iso8583.iws
==============================================================================
--- development/laboratory/users/niclas/iso8583/iso8583.iws (original)
+++ development/laboratory/users/niclas/iso8583/iso8583.iws Tue Apr 26
20:08:17 2005
@@ -146,25 +146,7 @@
<option name="HIDE_WARNINGS" value="false" />
</component>
<component name="FileEditorManager" split-orientation="vertical"
split-proportion="0.5">
- <first-group
selected-file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti150.java">
- <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti121.java"
pinned="false">
- <provider selected="true" editor-type-id="text-editor">
- <state line="118" column="39" selection-start="6164"
selection-end="6164" vertical-scroll-proportion="0.26136363">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
- </state>
- </provider>
- </entry>
- <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti130.java"
pinned="false">
- <provider selected="true" editor-type-id="text-editor">
- <state line="102" column="38" selection-start="5053"
selection-end="5053" vertical-scroll-proportion="0.41287878">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
- </state>
- </provider>
- </entry>
+ <first-group
selected-file="file://$PROJECT_DIR$/authorization/src/main/net/dpml/iso8583/authorization/impl/DefaultAuthorization.java">
<entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti140.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
<state line="126" column="39" selection-start="6768"
selection-end="6768" vertical-scroll-proportion="1.0378788">
@@ -176,62 +158,63 @@
</entry>
<entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti150.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="70" column="39" selection-start="2596"
selection-end="2596" vertical-scroll-proportion="0.6969697">
+ <state line="24" column="24" selection-start="893"
selection-end="908" vertical-scroll-proportion="0.15151516">
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti120.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/authorization/src/main/net/dpml/iso8583/authorization/impl/DefaultAuthorization.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="60" column="13" selection-start="2812"
selection-end="2812" vertical-scroll-proportion="-0.1590909">
+ <state line="68" column="0" selection-start="2706"
selection-end="2706" vertical-scroll-proportion="0.60227275">
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/authorization/src/main/net/dpml/iso8583/authorization/impl/DefaultAuthorization.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/comm/AsciiChannel.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="79" column="27" selection-start="3277"
selection-end="3277" vertical-scroll-proportion="0.6969697">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
+ <state line="35" column="20" selection-start="1145"
selection-end="1145" vertical-scroll-proportion="0.20833333">
+ <folding />
</state>
</provider>
</entry>
<entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti100.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="112" column="27" selection-start="5712"
selection-end="5712" vertical-scroll-proportion="1.1136364">
+ <state line="82" column="50" selection-start="3366"
selection-end="3366" vertical-scroll-proportion="-0.29166666">
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/MTI.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/comm/VapChannel.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="25" column="15" selection-start="761"
selection-end="761" vertical-scroll-proportion="0.17045455">
+ <state line="61" column="0" selection-start="2078"
selection-end="2078" vertical-scroll-proportion="0.6439394">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti101.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/ISOMessage.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="114" column="39" selection-start="5828"
selection-end="5828" vertical-scroll-proportion="1.3598485">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
+ <state line="6" column="17" selection-start="200"
selection-end="200" vertical-scroll-proportion="0.11363637">
+ <folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti110.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/IsoMessageImpl.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="106" column="39" selection-start="5392"
selection-end="5392" vertical-scroll-proportion="0.65909094">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
+ <state line="22" column="12" selection-start="488"
selection-end="488" vertical-scroll-proportion="0.41666666">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/authorization/AuthorizationService.java"
pinned="false">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="34" column="47" selection-start="1190"
selection-end="1190" vertical-scroll-proportion="0.3219697">
+ <folding />
</state>
</provider>
</entry>
@@ -258,9 +241,12 @@
<component name="PackagesPane">
<expanded_node url="net.dpml.iso8583.authorization" module="api"
type="package" />
<expanded_node url="" module="mti" type="module" />
+ <expanded_node url="" module="authorization" type="module" />
+ <expanded_node url="net.dpml.iso8583.data" module="api" type="package" />
+ <expanded_node url="" module="channels" type="module" />
<expanded_node url="net.dpml.iso8583.data.mti" module="mti"
type="package" />
- <expanded_node url="net.dpml.iso8583.channels" module="api"
type="package" />
<expanded_node url="" module="api" type="module" />
+ <expanded_node url="net.dpml.iso8583.authorization.impl"
module="authorization" type="package" />
</component>
<component name="ProjectPane">
<expanded_node url="file://$PROJECT_DIR$/elements" module="elements"
type="directory" />
@@ -485,130 +471,117 @@
<option name="FILTER_TARGETS" value="false" />
</component>
<component name="editorHistoryManager">
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/AbstractDataElement.java">
+ <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti121.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="162" column="68" selection-start="5822"
selection-end="5822" vertical-scroll-proportion="0.9172794">
+ <state line="118" column="39" selection-start="6164"
selection-end="6164" vertical-scroll-proportion="0.26136363">
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/ISOMessage.java">
- <provider selected="true" editor-type-id="text-editor">
- <state line="22" column="33" selection-start="562"
selection-end="563" vertical-scroll-proportion="0.58201057">
- <folding />
- </state>
- </provider>
- </entry>
- <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/IsoMessageFactory.java">
+ <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti110.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="10" column="32" selection-start="297"
selection-end="297" vertical-scroll-proportion="0.26455027">
- <folding />
+ <state line="106" column="39" selection-start="5392"
selection-end="5392" vertical-scroll-proportion="0.65909094">
+ <folding>
+ <element signature="imports" expanded="true" />
+ </folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/IsoMessageImpl.java">
+ <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti101.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="44" column="44" selection-start="1064"
selection-end="1064" vertical-scroll-proportion="0.8271605">
- <folding />
+ <state line="114" column="39" selection-start="5828"
selection-end="5828" vertical-scroll-proportion="1.3598485">
+ <folding>
+ <element signature="imports" expanded="true" />
+ </folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/test/net/dpml/iso8583/test/data/elements/AbstractDataElementTestCase.java">
+ <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti120.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="120" column="24" selection-start="3078"
selection-end="3078" vertical-scroll-proportion="1.0864197">
+ <state line="60" column="13" selection-start="2812"
selection-end="2812" vertical-scroll-proportion="-0.1590909">
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti150.java">
+ <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/MTI.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="70" column="39" selection-start="2596"
selection-end="2596" vertical-scroll-proportion="0.6969697">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
+ <state line="25" column="15" selection-start="761"
selection-end="761" vertical-scroll-proportion="0.17045455">
+ <folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti130.java">
+ <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti140.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="102" column="38" selection-start="5053"
selection-end="5053" vertical-scroll-proportion="0.41287878">
+ <state line="126" column="39" selection-start="6768"
selection-end="6768" vertical-scroll-proportion="1.0378788">
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti121.java">
+ <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti150.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="118" column="39" selection-start="6164"
selection-end="6164" vertical-scroll-proportion="0.26136363">
+ <state line="24" column="24" selection-start="893"
selection-end="908" vertical-scroll-proportion="0.15151516">
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti110.java">
+ <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/authorization/AuthorizationService.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="106" column="39" selection-start="5392"
selection-end="5392" vertical-scroll-proportion="0.65909094">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
+ <state line="34" column="47" selection-start="1190"
selection-end="1190" vertical-scroll-proportion="0.3219697">
+ <folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti101.java">
+ <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/comm/VapChannel.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="114" column="39" selection-start="5828"
selection-end="5828" vertical-scroll-proportion="1.3598485">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
+ <state line="61" column="0" selection-start="2078"
selection-end="2078" vertical-scroll-proportion="0.6439394">
+ <folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/authorization/src/main/net/dpml/iso8583/authorization/impl/DefaultAuthorization.java">
+ <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti100.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="79" column="27" selection-start="3277"
selection-end="3277" vertical-scroll-proportion="0.6969697">
+ <state line="82" column="50" selection-start="3366"
selection-end="3366" vertical-scroll-proportion="-0.29166666">
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti120.java">
+ <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/IsoMessageImpl.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="60" column="13" selection-start="2812"
selection-end="2812" vertical-scroll-proportion="-0.1590909">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
+ <state line="22" column="12" selection-start="488"
selection-end="488" vertical-scroll-proportion="0.41666666">
+ <folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/MTI.java">
+ <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/ISOMessage.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="25" column="15" selection-start="761"
selection-end="761" vertical-scroll-proportion="0.17045455">
+ <state line="6" column="17" selection-start="200"
selection-end="200" vertical-scroll-proportion="0.11363637">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti100.java">
+ <entry
file="file://$PROJECT_DIR$/authorization/src/main/net/dpml/iso8583/authorization/impl/DefaultAuthorization.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="112" column="27" selection-start="5712"
selection-end="5712" vertical-scroll-proportion="1.1136364">
+ <state line="68" column="0" selection-start="2706"
selection-end="2706" vertical-scroll-proportion="0.60227275">
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti140.java">
+ <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/comm/AsciiChannel.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="126" column="39" selection-start="6768"
selection-end="6768" vertical-scroll-proportion="1.0378788">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
+ <state line="35" column="20" selection-start="1145"
selection-end="1145" vertical-scroll-proportion="0.20833333">
+ <folding />
</state>
</provider>
</entry>



  • svn commit: r2423 - in development/laboratory/users/niclas/iso8583: . api/src/main/net/dpml/iso8583/channels authorization/src/main/net/dpml/iso8583/authorization/impl channels/src/main/net/dpml/iso8583/comm, niclas, 04/26/2005

Archive powered by MHonArc 2.6.24.

Top of Page