com.liferay.portal.kernel.nio.intraband.welder.fifo
Class FIFOWelder

java.lang.Object
  extended by com.liferay.portal.kernel.nio.intraband.welder.BaseWelder
      extended by com.liferay.portal.kernel.nio.intraband.welder.fifo.FIFOWelder
All Implemented Interfaces:
Welder, java.io.Serializable

public class FIFOWelder
extends BaseWelder

Author:
Shuyang Zhou
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.liferay.portal.kernel.nio.intraband.welder.BaseWelder
BaseWelder.State
 
Field Summary
protected static java.util.concurrent.atomic.AtomicLong idCounter
           
protected  java.io.File inputFIFOFile
           
protected  java.io.File outputFIFOFile
           
protected  java.nio.channels.FileChannel readFileChannel
           
protected  java.nio.channels.FileChannel writeFileChannel
           
 
Fields inherited from class com.liferay.portal.kernel.nio.intraband.welder.BaseWelder
registrationReference, server, state
 
Constructor Summary
FIFOWelder()
           
 
Method Summary
protected  void doDestroy()
           
protected  RegistrationReference weldClient(Intraband intraband)
           
protected  RegistrationReference weldServer(Intraband intraband)
           
 
Methods inherited from class com.liferay.portal.kernel.nio.intraband.welder.BaseWelder
destroy, weld
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

idCounter

protected static final java.util.concurrent.atomic.AtomicLong idCounter

inputFIFOFile

protected final java.io.File inputFIFOFile

outputFIFOFile

protected final java.io.File outputFIFOFile

readFileChannel

protected transient java.nio.channels.FileChannel readFileChannel

writeFileChannel

protected transient java.nio.channels.FileChannel writeFileChannel
Constructor Detail

FIFOWelder

public FIFOWelder()
           throws java.io.IOException
Throws:
java.io.IOException
Method Detail

doDestroy

protected void doDestroy()
                  throws java.io.IOException
Specified by:
doDestroy in class BaseWelder
Throws:
java.io.IOException

weldClient

protected RegistrationReference weldClient(Intraband intraband)
                                    throws java.io.IOException
Specified by:
weldClient in class BaseWelder
Throws:
java.io.IOException

weldServer

protected RegistrationReference weldServer(Intraband intraband)
                                    throws java.io.IOException
Specified by:
weldServer in class BaseWelder
Throws:
java.io.IOException