notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r2426 - in development/laboratory/users/niclas/iso8583: . api/src/main/net/dpml/iso8583/authorization api/src/main/net/dpml/iso8583/comm api/src/main/net/dpml/iso8583/data authorization/src/main/net/dpml/iso8583/authorization/impl channels/src/main/net/dpml/iso8583/channels elements/src/main/net/dpml/iso8583/data/elements
- From: niclas AT hedhman.org
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r2426 - in development/laboratory/users/niclas/iso8583: . api/src/main/net/dpml/iso8583/authorization api/src/main/net/dpml/iso8583/comm api/src/main/net/dpml/iso8583/data authorization/src/main/net/dpml/iso8583/authorization/impl channels/src/main/net/dpml/iso8583/channels elements/src/main/net/dpml/iso8583/data/elements
- Date: Tue, 26 Apr 2005 21:23:04 -0400
Author: niclas AT hedhman.org
Date: Tue Apr 26 21:23:00 2005
New Revision: 2426
Added:
development/laboratory/users/niclas/iso8583/api/src/main/net/dpml/iso8583/comm/
development/laboratory/users/niclas/iso8583/api/src/main/net/dpml/iso8583/comm/Channel.java
development/laboratory/users/niclas/iso8583/api/src/main/net/dpml/iso8583/comm/Packager.java
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/IsoMessageImpl.java
Removed:
development/laboratory/users/niclas/iso8583/api/src/main/net/dpml/iso8583/data/IsoMessageImpl.java
Modified:
development/laboratory/users/niclas/iso8583/api/src/main/net/dpml/iso8583/authorization/AuthorizationService.java
development/laboratory/users/niclas/iso8583/api/src/main/net/dpml/iso8583/data/DataElementAlreadyContainsValueException.java
development/laboratory/users/niclas/iso8583/api/src/main/net/dpml/iso8583/data/IsoMessageFactory.java
development/laboratory/users/niclas/iso8583/authorization/src/main/net/dpml/iso8583/authorization/impl/DefaultAuthorization.java
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/AsciiChannel.java
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/Base24Channel.java
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/Base24TcpChannel.java
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/ConfigHelper.java
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/CsChannel.java
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/LogChannel.java
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/NacChannel.java
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/NccChannel.java
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/PadChannel.java
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/PostChannel.java
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/RawChannel.java
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/VapChannel.java
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/X25Channel.java
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/XmlChannel.java
development/laboratory/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ActionCode.java
development/laboratory/users/niclas/iso8583/iso8583.iws
Log:
More work on removal of jpos exposure.
Modified:
development/laboratory/users/niclas/iso8583/api/src/main/net/dpml/iso8583/authorization/AuthorizationService.java
==============================================================================
---
development/laboratory/users/niclas/iso8583/api/src/main/net/dpml/iso8583/authorization/AuthorizationService.java
(original)
+++
development/laboratory/users/niclas/iso8583/api/src/main/net/dpml/iso8583/authorization/AuthorizationService.java
Tue Apr 26 21:23:00 2005
@@ -18,8 +18,8 @@
package net.dpml.iso8583.authorization;
+import net.dpml.iso8583.data.DataElement;
import net.dpml.iso8583.data.ISOException;
-import net.dpml.service.ServiceException;
/**
* @metro.service type="net.dpml.iso8583.authorization.AuthorizationService"
@@ -28,17 +28,17 @@
{
/** Authorize the transaction in the thread context space.
*
- * @return true if the athorization is approved, false otherwise.
+ * @return A DataElement of type ActionCode.
* @throws net.dpml.iso8583.data.ISOException if the underlying
communication layers failed.
*/
- boolean authorize()
- throws ISOException, ServiceException;
+ DataElement authorize()
+ throws ISOException;
/** Advice of the transaction in the thread context space.
*
- * @return true if the advice is approved, false otherwise.
+ * @return A DataElement of type ActionCode.
* @throws ISOException if the underlying communication layers failed.
*/
- boolean advice()
+ DataElement advice()
throws ISOException;
}
Added:
development/laboratory/users/niclas/iso8583/api/src/main/net/dpml/iso8583/comm/Channel.java
==============================================================================
--- (empty file)
+++
development/laboratory/users/niclas/iso8583/api/src/main/net/dpml/iso8583/comm/Channel.java
Tue Apr 26 21:23:00 2005
@@ -0,0 +1,28 @@
+/*
+ * Copyright 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.comm;
+
+import net.dpml.iso8583.data.ISOMessage;
+import net.dpml.iso8583.data.ISOException;
+
+public interface Channel
+{
+ ISOMessage send( ISOMessage message )
+ throws ISOException;
+}
Added:
development/laboratory/users/niclas/iso8583/api/src/main/net/dpml/iso8583/comm/Packager.java
==============================================================================
--- (empty file)
+++
development/laboratory/users/niclas/iso8583/api/src/main/net/dpml/iso8583/comm/Packager.java
Tue Apr 26 21:23:00 2005
@@ -0,0 +1,12 @@
+package net.dpml.iso8583.comm;
+
+import org.jpos.iso.ISOPackager;
+
+/**
+ * Created by IntelliJ IDEA. User: gondor Date: Apr 26, 2005 Time: 4:15:24
PM To change this template use File |
+ * Settings | File Templates.
+ */
+public interface Packager
+{
+ ISOPackager getISOPackager();
+}
Modified:
development/laboratory/users/niclas/iso8583/api/src/main/net/dpml/iso8583/data/DataElementAlreadyContainsValueException.java
==============================================================================
---
development/laboratory/users/niclas/iso8583/api/src/main/net/dpml/iso8583/data/DataElementAlreadyContainsValueException.java
(original)
+++
development/laboratory/users/niclas/iso8583/api/src/main/net/dpml/iso8583/data/DataElementAlreadyContainsValueException.java
Tue Apr 26 21:23:00 2005
@@ -18,7 +18,7 @@
package net.dpml.iso8583.data;
-public class DataElementAlreadyContainsValueException extends Exception
+public class DataElementAlreadyContainsValueException extends ISOException
{
public DataElementAlreadyContainsValueException( String message )
{
Modified:
development/laboratory/users/niclas/iso8583/api/src/main/net/dpml/iso8583/data/IsoMessageFactory.java
==============================================================================
---
development/laboratory/users/niclas/iso8583/api/src/main/net/dpml/iso8583/data/IsoMessageFactory.java
(original)
+++
development/laboratory/users/niclas/iso8583/api/src/main/net/dpml/iso8583/data/IsoMessageFactory.java
Tue Apr 26 21:23:00 2005
@@ -1,5 +1,8 @@
package net.dpml.iso8583.data;
+import org.jpos.iso.ISOMsg;
+import net.dpml.iso8583.channels.IsoMessageImpl;
+
/**
* Created by IntelliJ IDEA. User: gondor Date: Apr 26, 2005 Time: 2:34:38
PM To change this template use File |
* Settings | File Templates.
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 21:23:00 2005
@@ -42,8 +42,12 @@
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.data.elements.ActionCode;
+import net.dpml.iso8583.comm.Channel;
import net.dpml.service.ServiceManager;
import net.dpml.service.ServiceException;
+import org.jpos.iso.ISOChannel;
+import org.jpos.iso.ISOMsg;
/**
* @metro.component name="authorization" lifestyle="singleton"
@@ -52,32 +56,58 @@
public class DefaultAuthorization
implements AuthorizationService
{
-
private DataElementManager m_dataElementManager;
+ private Channel m_channel;
private MTI m_mti100;
+ private MTI m_mti110;
+ private MTI m_mti120;
+ private MTI m_mti130;
+ private MTI m_mti140;
+ private MTI m_mti150;
/** 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.MTI" key="mti110"
+ * @metro.dependency type="net.dpml.iso8583.data.MTI" key="mti120"
+ * @metro.dependency type="net.dpml.iso8583.data.MTI" key="mti130"
+ * @metro.dependency type="net.dpml.iso8583.data.MTI" key="mti140"
+ * @metro.dependency type="net.dpml.iso8583.data.MTI" key="mti150"
+ * @metro.dependency type="net.dpml.iso8583.comm.Channel" key="channel"
+ * @metro.dependency type="net.dpml.iso8583.data.DataElementManager"
key="dataelement-manager"
*/
public DefaultAuthorization( ServiceManager man )
throws ServiceException
{
+ m_dataElementManager = (DataElementManager) man.lookup(
"dataelement-manager" );
m_mti100 = (MTI) man.lookup( "mti100" );
+ m_mti110 = (MTI) man.lookup( "mti110" );
+ m_mti120 = (MTI) man.lookup( "mti120" );
+ m_mti130 = (MTI) man.lookup( "mti130" );
+ m_mti140 = (MTI) man.lookup( "mti140" );
+ m_mti150 = (MTI) man.lookup( "mti150" );
+ m_channel = (Channel) man.lookup( "channel" );
}
- public boolean authorize()
- throws ISOException, ServiceException
+ public DataElement authorize()
+ throws ISOException
{
ISOMessage msg = m_mti100.assemble();
- return false;
+ ISOMessage result = m_channel.send( msg );
+ m_mti110.disassemble( result );
+ ActionCode code = (ActionCode) m_dataElementManager.lookup(
ActionCode.class );
+ return code;
}
- public boolean advice()
+ public DataElement advice()
throws ISOException
{
- return false;
+ ISOMessage msg = m_mti120.assemble();
+ ISOMessage result = m_channel.send( msg );
+ m_mti130.disassemble( result );
+ ActionCode code = (ActionCode) m_dataElementManager.lookup(
ActionCode.class );
+ return code;
}
}
Modified:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/AsciiChannel.java
==============================================================================
---
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/AsciiChannel.java
(original)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/AsciiChannel.java
Tue Apr 26 21:23:00 2005
@@ -23,22 +23,24 @@
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 net.dpml.iso8583.comm.Channel;
+import net.dpml.iso8583.comm.Packager;
+import net.dpml.iso8583.data.ISOMessage;
+import net.dpml.iso8583.data.ISOException;
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"
+ * @metro.service type="net.dpml.iso8583.comm.Channel"
*/
public class AsciiChannel extends org.jpos.iso.channel.ASCIIChannel
+ implements Channel
{
/**
* @metro.logger name="Ascii"
- * @metro.dependency type="org.jpos.iso.ISOPackager" key="packager"
+ * @metro.dependency type="net.dpml.iso8583.comm.Packager" key="packager"
*
* @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
* key="server-socket-factory"
@@ -53,8 +55,14 @@
{
super( params.getParameter( "host" ),
params.getParameterAsInteger( "port" ),
- (ISOPackager) man.lookup( "packager" )
+ ((Packager) man.lookup( "packager" )).getISOPackager()
);
ConfigHelper.initialize( this, man, params );
}
+
+ public ISOMessage send( ISOMessage message )
+ throws net.dpml.iso8583.data.ISOException
+ {
+ return null; //To change body of implemented methods use File |
Settings | File Templates.
+ }
}
\ No newline at end of file
Modified:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/Base24Channel.java
==============================================================================
---
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/Base24Channel.java
(original)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/Base24Channel.java
Tue Apr 26 21:23:00 2005
@@ -27,21 +27,19 @@
import net.dpml.service.ServiceException;
import net.dpml.service.ServiceManager;
-
-import org.jpos.iso.ISOException;
-import org.jpos.iso.ISOPackager;
+import net.dpml.iso8583.data.ISOException;
+import net.dpml.iso8583.comm.Packager;
/** 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"
+ * @metro.service type="net.dpml.iso8583.comm.Channel"
*/
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="net.dpml.iso8583.comm.Packager" key="packager"
*
* @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
* key="server-socket-factory"
@@ -56,7 +54,7 @@
{
super( params.getParameter( "host" ),
params.getParameterAsInteger( "port" ),
- (ISOPackager) man.lookup( "packager" )
+ ((Packager) man.lookup( "packager" )).getISOPackager()
);
ConfigHelper.initialize( this, man, params );
}
Modified:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/Base24TcpChannel.java
==============================================================================
---
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/Base24TcpChannel.java
(original)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/Base24TcpChannel.java
Tue Apr 26 21:23:00 2005
@@ -27,21 +27,19 @@
import net.dpml.service.ServiceException;
import net.dpml.service.ServiceManager;
-
-import org.jpos.iso.ISOException;
-import org.jpos.iso.ISOPackager;
+import net.dpml.iso8583.comm.Packager;
+import net.dpml.iso8583.data.ISOException;
/** 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"
+ * @metro.service type="net.dpml.iso8583.comm.Channel"
*/
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="net.dpml.iso8583.comm.Packager" key="packager"
*
* @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
* key="server-socket-factory"
@@ -56,7 +54,7 @@
{
super( params.getParameter( "host" ),
params.getParameterAsInteger( "port" ),
- (ISOPackager) man.lookup( "packager" )
+ ((Packager) man.lookup( "packager" )).getISOPackager()
);
ConfigHelper.initialize( this, man, params );
}
Modified:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/ConfigHelper.java
==============================================================================
---
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/ConfigHelper.java
(original)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/ConfigHelper.java
Tue Apr 26 21:23:00 2005
@@ -27,22 +27,28 @@
import net.dpml.service.ServiceException;
import net.dpml.service.ServiceManager;
+import net.dpml.iso8583.data.ISOException;
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
+ throws ServiceException, 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 );
+ try
+ {
+ ServerSocket socket = ssf.createServerSocket( ch.getPort() );
+ ch.setServerSocket( socket );
+ } catch( org.jpos.iso.ISOException e )
+ {
+ throw new ISOException( "ServerSocketFactory creation
problem.", e );
+ }
}
if( man.hasService( "client-socket-factory" ) )
{
Modified:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/CsChannel.java
==============================================================================
---
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/CsChannel.java
(original)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/CsChannel.java
Tue Apr 26 21:23:00 2005
@@ -27,21 +27,19 @@
import net.dpml.service.ServiceException;
import net.dpml.service.ServiceManager;
-
-import org.jpos.iso.ISOException;
-import org.jpos.iso.ISOPackager;
+import net.dpml.iso8583.comm.Packager;
+import net.dpml.iso8583.data.ISOException;
/** 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"
+ * @metro.service type="net.dpml.iso8583.comm.Channel"
*/
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="net.dpml.iso8583.comm.Packager" key="packager"
*
* @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
* key="server-socket-factory"
@@ -56,7 +54,7 @@
{
super( params.getParameter( "host" ),
params.getParameterAsInteger( "port" ),
- (ISOPackager) man.lookup( "packager" )
+ ((Packager) man.lookup( "packager" )).getISOPackager()
);
ConfigHelper.initialize( this, man, params );
}
Added:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/IsoMessageImpl.java
==============================================================================
--- (empty file)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/IsoMessageImpl.java
Tue Apr 26 21:23:00 2005
@@ -0,0 +1,80 @@
+/*
+ * Copyright 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 org.jpos.iso.ISOMsg;
+import net.dpml.iso8583.data.ISOMessage;
+import net.dpml.iso8583.data.ISOException;
+
+public class IsoMessageImpl
+ implements ISOMessage
+{
+ private ISOMsg m_jposMsg;
+
+ IsoMessageImpl( String mti )
+ {
+ m_jposMsg = new ISOMsg( mti );
+ }
+
+ IsoMessageImpl( ISOMsg msg )
+ {
+ m_jposMsg = msg;
+ }
+
+ public String getMtiNumber()
+ throws ISOException
+ {
+ try
+ {
+ return m_jposMsg.getMTI();
+ } catch( org.jpos.iso.ISOException e )
+ {
+ throw new ISOException( "Underlying ISOException.", e );
+ }
+ }
+
+ public void set( int field, byte[] data )
+ throws ISOException
+ {
+ try
+ {
+ m_jposMsg.set( field, data );
+ } catch( org.jpos.iso.ISOException e )
+ {
+ throw new ISOException( "Underlying ISOException.", e );
+ }
+ }
+
+ public String getString( int field )
+ throws ISOException
+ {
+ return m_jposMsg.getString( field );
+ }
+
+ public byte[] getData( int field )
+ throws ISOException
+ {
+ return m_jposMsg.getString( field ).getBytes();
+ }
+
+ public boolean hasField( int field )
+ {
+ return m_jposMsg.hasField( field );
+ }
+}
Modified:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/LogChannel.java
==============================================================================
---
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/LogChannel.java
(original)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/LogChannel.java
Tue Apr 26 21:23:00 2005
@@ -27,21 +27,19 @@
import net.dpml.service.ServiceException;
import net.dpml.service.ServiceManager;
-
-import org.jpos.iso.ISOException;
-import org.jpos.iso.ISOPackager;
+import net.dpml.iso8583.data.ISOException;
+import net.dpml.iso8583.comm.Packager;
/** 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"
+ * @metro.service type="net.dpml.iso8583.comm.Channel"
*/
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="net.dpml.iso8583.comm.Packager" key="packager"
*
* @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
* key="server-socket-factory"
@@ -56,7 +54,7 @@
{
super( params.getParameter( "host" ),
params.getParameterAsInteger( "port" ),
- (ISOPackager) man.lookup( "packager" )
+ ((Packager) man.lookup( "packager" )).getISOPackager()
);
ConfigHelper.initialize( this, man, params );
}
Modified:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/NacChannel.java
==============================================================================
---
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/NacChannel.java
(original)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/NacChannel.java
Tue Apr 26 21:23:00 2005
@@ -29,21 +29,19 @@
import net.dpml.service.ServiceException;
import net.dpml.service.ServiceManager;
-
-import org.jpos.iso.ISOException;
-import org.jpos.iso.ISOPackager;
+import net.dpml.iso8583.data.ISOException;
+import net.dpml.iso8583.comm.Packager;
/** 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"
+ * @metro.service type="net.dpml.iso8583.comm.Channel"
*/
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="net.dpml.iso8583.comm.Packager" key="packager"
*
* @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
* key="server-socket-factory"
@@ -58,7 +56,7 @@
{
super( params.getParameter( "host" ),
params.getParameterAsInteger( "port" ),
- (ISOPackager) man.lookup( "packager" ),
+ ((Packager) man.lookup( "packager" )).getISOPackager(),
convertByteArray( params )
);
ConfigHelper.initialize( this, man, params );
Modified:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/NccChannel.java
==============================================================================
---
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/NccChannel.java
(original)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/NccChannel.java
Tue Apr 26 21:23:00 2005
@@ -29,21 +29,19 @@
import net.dpml.service.ServiceException;
import net.dpml.service.ServiceManager;
-
-import org.jpos.iso.ISOException;
-import org.jpos.iso.ISOPackager;
+import net.dpml.iso8583.data.ISOException;
+import net.dpml.iso8583.comm.Packager;
/** 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"
+ * @metro.service type="net.dpml.iso8583.comm.Channel"
*/
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="net.dpml.iso8583.comm.Packager" key="packager"
*
* @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
* key="server-socket-factory"
@@ -58,7 +56,7 @@
{
super( params.getParameter( "host" ),
params.getParameterAsInteger( "port" ),
- (ISOPackager) man.lookup( "packager" ),
+ ((Packager) man.lookup( "packager" )).getISOPackager(),
convertByteArray( params )
);
ConfigHelper.initialize( this, man, params );
Modified:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/PadChannel.java
==============================================================================
---
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/PadChannel.java
(original)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/PadChannel.java
Tue Apr 26 21:23:00 2005
@@ -27,21 +27,19 @@
import net.dpml.service.ServiceException;
import net.dpml.service.ServiceManager;
-
-import org.jpos.iso.ISOException;
-import org.jpos.iso.ISOPackager;
+import net.dpml.iso8583.data.ISOException;
+import net.dpml.iso8583.comm.Packager;
/** 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"
+ * @metro.service type="net.dpml.iso8583.comm.Channel"
*/
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="net.dpml.iso8583.comm.Packager" key="packager"
*
* @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
* key="server-socket-factory"
@@ -56,7 +54,7 @@
{
super( params.getParameter( "host" ),
params.getParameterAsInteger( "port" ),
- (ISOPackager) man.lookup( "packager" )
+ ((Packager) man.lookup( "packager" )).getISOPackager()
);
ConfigHelper.initialize( this, man, params );
}
Modified:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/PostChannel.java
==============================================================================
---
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/PostChannel.java
(original)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/PostChannel.java
Tue Apr 26 21:23:00 2005
@@ -27,21 +27,19 @@
import net.dpml.service.ServiceException;
import net.dpml.service.ServiceManager;
-
-import org.jpos.iso.ISOException;
-import org.jpos.iso.ISOPackager;
+import net.dpml.iso8583.data.ISOException;
+import net.dpml.iso8583.comm.Packager;
/** 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"
+ * @metro.service type="net.dpml.iso8583.comm.Channel"
*/
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="net.dpml.iso8583.comm.Packager" key="packager"
*
* @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
* key="server-socket-factory"
@@ -56,7 +54,7 @@
{
super( params.getParameter( "host" ),
params.getParameterAsInteger( "port" ),
- (ISOPackager) man.lookup( "packager" )
+ ((Packager) man.lookup( "packager" )).getISOPackager()
);
ConfigHelper.initialize( this, man, params );
}
Modified:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/RawChannel.java
==============================================================================
---
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/RawChannel.java
(original)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/RawChannel.java
Tue Apr 26 21:23:00 2005
@@ -29,21 +29,19 @@
import net.dpml.service.ServiceException;
import net.dpml.service.ServiceManager;
-
-import org.jpos.iso.ISOException;
-import org.jpos.iso.ISOPackager;
+import net.dpml.iso8583.data.ISOException;
+import net.dpml.iso8583.comm.Packager;
/** 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"
+ * @metro.service type="net.dpml.iso8583.comm.Channel"
*/
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="net.dpml.iso8583.comm.Packager" key="packager"
*
* @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
* key="server-socket-factory"
@@ -58,7 +56,7 @@
{
super( params.getParameter( "host" ),
params.getParameterAsInteger( "port" ),
- (ISOPackager) man.lookup( "packager" ),
+ ((Packager) man.lookup( "packager" )).getISOPackager(),
convertByteArray( params )
);
ConfigHelper.initialize( this, man, params );
Modified:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/VapChannel.java
==============================================================================
---
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/VapChannel.java
(original)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/VapChannel.java
Tue Apr 26 21:23:00 2005
@@ -27,21 +27,19 @@
import net.dpml.service.ServiceException;
import net.dpml.service.ServiceManager;
-
-import org.jpos.iso.ISOException;
-import org.jpos.iso.ISOPackager;
+import net.dpml.iso8583.data.ISOException;
+import net.dpml.iso8583.comm.Packager;
/** 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"
+ * @metro.service type="net.dpml.iso8583.comm.Channel"
*/
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="net.dpml.iso8583.comm.Packager" key="packager"
*
* @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
* key="server-socket-factory"
@@ -56,7 +54,7 @@
{
super( params.getParameter( "host" ),
params.getParameterAsInteger( "port" ),
- (ISOPackager) man.lookup( "packager" )
+ ((Packager) man.lookup( "packager" )).getISOPackager()
);
ConfigHelper.initialize( this, man, params );
}
Modified:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/X25Channel.java
==============================================================================
---
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/X25Channel.java
(original)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/X25Channel.java
Tue Apr 26 21:23:00 2005
@@ -27,21 +27,19 @@
import net.dpml.service.ServiceException;
import net.dpml.service.ServiceManager;
-
-import org.jpos.iso.ISOException;
-import org.jpos.iso.ISOPackager;
+import net.dpml.iso8583.data.ISOException;
+import net.dpml.iso8583.comm.Packager;
/** 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"
+ * @metro.service type="net.dpml.iso8583.comm.Channel"
*/
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="net.dpml.iso8583.comm.Packager" key="packager"
*
* @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
* key="server-socket-factory"
@@ -56,7 +54,7 @@
{
super( params.getParameter( "host" ),
params.getParameterAsInteger( "port" ),
- (ISOPackager) man.lookup( "packager" )
+ ((Packager) man.lookup( "packager" )).getISOPackager()
);
ConfigHelper.initialize( this, man, params );
}
Modified:
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/XmlChannel.java
==============================================================================
---
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/XmlChannel.java
(original)
+++
development/laboratory/users/niclas/iso8583/channels/src/main/net/dpml/iso8583/channels/XmlChannel.java
Tue Apr 26 21:23:00 2005
@@ -27,21 +27,19 @@
import net.dpml.service.ServiceException;
import net.dpml.service.ServiceManager;
-
-import org.jpos.iso.ISOException;
-import org.jpos.iso.ISOPackager;
+import net.dpml.iso8583.data.ISOException;
+import net.dpml.iso8583.comm.Packager;
/** 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"
+ * @metro.service type="net.dpml.iso8583.comm.Channel"
*/
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="net.dpml.iso8583.comm.Packager" key="packager"
*
* @metro.dependency type="org.jpos.iso.ISOServerSocketFactory"
* key="server-socket-factory"
@@ -56,7 +54,7 @@
{
super( params.getParameter( "host" ),
params.getParameterAsInteger( "port" ),
- (ISOPackager) man.lookup( "packager" )
+ ((Packager) man.lookup( "packager" )).getISOPackager()
);
ConfigHelper.initialize( this, man, params );
}
Modified:
development/laboratory/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ActionCode.java
==============================================================================
---
development/laboratory/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ActionCode.java
(original)
+++
development/laboratory/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ActionCode.java
Tue Apr 26 21:23:00 2005
@@ -245,6 +245,12 @@
return ch == '2';
}
+ public boolean isAccepted()
+ {
+ char ch = get().charAt(0);
+ return ch == '0';
+ }
+
public String getActionMessage( Locale locale )
{
ResourceBundle bundle = ResourceBundle.getBundle(
ActionCode.class.getName(), locale );
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
21:23:00 2005
@@ -146,19 +146,37 @@
<option name="HIDE_WARNINGS" value="false" />
</component>
<component name="FileEditorManager" split-orientation="vertical"
split-proportion="0.5">
- <first-group
selected-file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/channels/X25Channel.java">
- <entry
file="file://$PROJECT_DIR$/authorization/src/main/net/dpml/iso8583/authorization/impl/DefaultAuthorization.java"
pinned="false">
+ <first-group
selected-file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/IsoMessageFactory.java">
+ <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/channels/LogChannel.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="68" column="0" selection-start="2706"
selection-end="2706" vertical-scroll-proportion="0.60227275">
+ <state line="36" column="0" selection-start="1137"
selection-end="1137" vertical-scroll-proportion="0.52910054">
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/channels/AsciiChannel.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/channels/NacChannel.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="33" column="26" selection-start="1095"
selection-end="1095" vertical-scroll-proportion="0.3219697">
+ <state line="38" column="0" selection-start="1172"
selection-end="1172" vertical-scroll-proportion="0.26631394">
+ <folding>
+ <element signature="imports" expanded="true" />
+ </folding>
+ </state>
+ </provider>
+ </entry>
+ <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/channels/NccChannel.java"
pinned="false">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="38" column="0" selection-start="1172"
selection-end="1172" vertical-scroll-proportion="0.26631394">
+ <folding>
+ <element signature="imports" expanded="true" />
+ </folding>
+ </state>
+ </provider>
+ </entry>
+ <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/channels/PadChannel.java"
pinned="false">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="36" column="0" selection-start="1142"
selection-end="1142" vertical-scroll-proportion="0.52910054">
<folding>
<element signature="imports" expanded="true" />
</folding>
@@ -167,45 +185,55 @@
</entry>
<entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/channels/PostChannel.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="39" column="13" selection-start="1190"
selection-end="1190" vertical-scroll-proportion="0.22727273">
- <folding />
+ <state line="36" column="0" selection-start="1139"
selection-end="1139" vertical-scroll-proportion="0.52910054">
+ <folding>
+ <element signature="imports" expanded="true" />
+ </folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/channels/X25Channel.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/channels/RawChannel.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="39" column="13" selection-start="1190"
selection-end="1190" vertical-scroll-proportion="0.22727273">
- <folding />
+ <state line="38" column="0" selection-start="1172"
selection-end="1172" vertical-scroll-proportion="0.26631394">
+ <folding>
+ <element signature="imports" expanded="true" />
+ </folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti100.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/channels/VapChannel.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="82" column="50" selection-start="3366"
selection-end="3366" vertical-scroll-proportion="-0.29166666">
+ <state line="36" column="0" selection-start="1137"
selection-end="1137" vertical-scroll-proportion="0.52910054">
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/ISOMessage.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/channels/X25Channel.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="6" column="17" selection-start="200"
selection-end="200" vertical-scroll-proportion="0.11363637">
- <folding />
+ <state line="36" column="0" selection-start="1139"
selection-end="1139" vertical-scroll-proportion="0.52910054">
+ <folding>
+ <element signature="imports" expanded="true" />
+ </folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/IsoMessageImpl.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/channels/XmlChannel.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="12" selection-start="488"
selection-end="488" vertical-scroll-proportion="0.41666666">
- <folding />
+ <state line="36" column="0" selection-start="1138"
selection-end="1138" vertical-scroll-proportion="0.52910054">
+ <folding>
+ <element signature="imports" expanded="true" />
+ </folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/authorization/AuthorizationService.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/IsoMessageFactory.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="18" column="0" selection-start="0"
selection-end="622" vertical-scroll-proportion="0.03787879">
- <folding />
+ <state line="3" column="33" selection-start="93"
selection-end="93" vertical-scroll-proportion="0.07936508">
+ <folding>
+ <element signature="imports" expanded="true" />
+ </folding>
</state>
</provider>
</entry>
@@ -230,6 +258,13 @@
</component>
<component name="NamedScopeManager" />
<component name="PackagesPane">
+ <expanded_node url="" module="authorization" type="module" />
+ <expanded_node url="net.dpml.iso8583.data" module="api" type="package" />
+ <expanded_node url="net.dpml.iso8583.authorization.impl"
module="authorization" type="package" />
+ <expanded_node url="" module="channels" type="module" />
+ <expanded_node url="net.dpml.iso8583.authorization" module="api"
type="package" />
+ <expanded_node url="net.dpml.iso8583.channels" module="channels"
type="package" />
+ <expanded_node url="net.dpml.iso8583.comm" module="api" type="package" />
<expanded_node url="" module="api" type="module" />
</component>
<component name="ProjectPane">
@@ -368,10 +403,10 @@
<window_info id="XPTask View" active="false" anchor="right"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.32980457" order="-1" />
<window_info id="TODO" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.33" order="7" />
<window_info id="SvgViewer" active="false" anchor="right"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.33028287" order="3" />
- <window_info id="Project" active="true" anchor="left"
auto_hide="false" internal_type="docked" type="docked" visible="true"
weight="0.25" order="0" />
+ <window_info id="Project" active="false" anchor="left"
auto_hide="false" internal_type="docked" type="docked" visible="true"
weight="0.25" order="0" />
<window_info id="Find" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.3302217" order="1" />
<window_info id="Structure" active="false" anchor="left"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.24958402" order="1" />
- <window_info id="Messages" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.25437573" order="8" />
+ <window_info id="Messages" active="true" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="true"
weight="0.25437573" order="8" />
<window_info id="Inspection" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.4" order="6" />
<window_info id="Dependency Viewer" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.33" order="8" />
<window_info id="Ant Build" active="false" anchor="right"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.24958402" order="1" />
@@ -455,91 +490,106 @@
<option name="FILTER_TARGETS" value="false" />
</component>
<component name="editorHistoryManager">
- <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/channels/LoopbackChannel.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">
+ <state line="28" column="13" selection-start="931"
selection-end="931" vertical-scroll-proportion="0.31746033">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/channels/AsciiChannel.java">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="36" column="0" selection-start="1163"
selection-end="1218" vertical-scroll-proportion="0.5257353">
<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$/channels/src/main/net/dpml/iso8583/channels/Base24Channel.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">
+ <state line="36" column="0" selection-start="1143"
selection-end="1143" vertical-scroll-proportion="0.27757353">
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/MTI.java">
+ <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/channels/Base24TcpChannel.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">
- <folding />
+ <state line="36" column="0" selection-start="1151"
selection-end="1151" vertical-scroll-proportion="0.27757353">
+ <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/channels/CsChannel.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="126" column="39" selection-start="6768"
selection-end="6768" vertical-scroll-proportion="1.0689207">
+ <state line="36" column="0" selection-start="1135"
selection-end="1135" vertical-scroll-proportion="0.52910054">
<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$/channels/src/main/net/dpml/iso8583/channels/LogChannel.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="24" column="24" selection-start="893"
selection-end="908" vertical-scroll-proportion="0.15604681">
+ <state line="36" column="0" selection-start="1137"
selection-end="1137" vertical-scroll-proportion="0.52910054">
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti100.java">
+ <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/channels/NacChannel.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="82" column="50" selection-start="3366"
selection-end="3366" vertical-scroll-proportion="-0.29166666">
+ <state line="38" column="0" selection-start="1172"
selection-end="1172" vertical-scroll-proportion="0.26631394">
<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$/channels/src/main/net/dpml/iso8583/channels/NccChannel.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="12" selection-start="488"
selection-end="488" vertical-scroll-proportion="0.41666666">
- <folding />
+ <state line="38" column="0" selection-start="1172"
selection-end="1172" vertical-scroll-proportion="0.26631394">
+ <folding>
+ <element signature="imports" expanded="true" />
+ </folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/ISOMessage.java">
+ <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/channels/PadChannel.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="6" column="17" selection-start="200"
selection-end="200" vertical-scroll-proportion="0.11363637">
- <folding />
+ <state line="36" column="0" selection-start="1142"
selection-end="1142" vertical-scroll-proportion="0.52910054">
+ <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">
+ <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/channels/PostChannel.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="68" column="0" selection-start="2706"
selection-end="2706" vertical-scroll-proportion="0.60227275">
+ <state line="36" column="0" selection-start="1139"
selection-end="1139" vertical-scroll-proportion="0.52910054">
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/authorization/AuthorizationService.java">
+ <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/channels/RawChannel.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="18" column="0" selection-start="0" selection-end="622"
vertical-scroll-proportion="0.03787879">
- <folding />
+ <state line="38" column="0" selection-start="1172"
selection-end="1172" vertical-scroll-proportion="0.26631394">
+ <folding>
+ <element signature="imports" expanded="true" />
+ </folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/channels/AsciiChannel.java">
+ <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/channels/VapChannel.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="33" column="26" selection-start="1095"
selection-end="1095" vertical-scroll-proportion="0.3219697">
+ <state line="36" column="0" selection-start="1137"
selection-end="1137" vertical-scroll-proportion="0.52910054">
<folding>
<element signature="imports" expanded="true" />
</folding>
@@ -548,15 +598,28 @@
</entry>
<entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/channels/X25Channel.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="39" column="13" selection-start="1190"
selection-end="1190" vertical-scroll-proportion="0.22727273">
- <folding />
+ <state line="36" column="0" selection-start="1139"
selection-end="1139" vertical-scroll-proportion="0.52910054">
+ <folding>
+ <element signature="imports" expanded="true" />
+ </folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/channels/PostChannel.java">
+ <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/IsoMessageFactory.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="39" column="13" selection-start="1190"
selection-end="1190" vertical-scroll-proportion="0.22727273">
- <folding />
+ <state line="3" column="33" selection-start="93" selection-end="93"
vertical-scroll-proportion="0.07936508">
+ <folding>
+ <element signature="imports" expanded="true" />
+ </folding>
+ </state>
+ </provider>
+ </entry>
+ <entry
file="file://$PROJECT_DIR$/channels/src/main/net/dpml/iso8583/channels/XmlChannel.java">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="36" column="0" selection-start="1138"
selection-end="1138" vertical-scroll-proportion="0.52910054">
+ <folding>
+ <element signature="imports" expanded="true" />
+ </folding>
</state>
</provider>
</entry>
- svn commit: r2426 - in development/laboratory/users/niclas/iso8583: . api/src/main/net/dpml/iso8583/authorization api/src/main/net/dpml/iso8583/comm api/src/main/net/dpml/iso8583/data authorization/src/main/net/dpml/iso8583/authorization/impl channels/src/main/net/dpml/iso8583/channels elements/src/main/net/dpml/iso8583/data/elements, niclas, 04/26/2005
Archive powered by MHonArc 2.6.24.