|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dream.AbstractComponent
org.objectweb.dream.channel.AddIPExportIdChunkImpl
public class AddIPExportIdChunkImpl
This message transformer adds a ExportIdentifierChunk
containing an
IPExportIdentifier
.
The name of the added chunk is specified using
AddIPExportIdChunkAttributeController.setChunkName(String)
.
The inet address must be specified using the
AddIPExportIdChunkAttributeController.setHostname(String)
method.
Field Summary | |
---|---|
protected String |
chunkName
|
protected ChunkFactoryReference<ExportIdentifierChunk> |
exportIdChunkFactory
|
protected IPExportIdentifier |
exportIdentifier
|
protected String |
hostname
|
protected MessageManager |
messageManagerItf
|
protected Push |
outPushItf
|
protected int |
port
|
Fields inherited from class org.objectweb.dream.AbstractComponent |
---|
bindingLogger, fcNeedAsyncStart, fcState, lifeCycleLogger, logger, weaveableC |
Fields inherited from interface org.objectweb.dream.Push |
---|
IN_PUSH_ITF_NAME, INCOMING_IN_PUSH_ITF_NAME, INCOMING_OUT_PUSH_ITF_NAME, OUT_PUSH_ITF_NAME, OUTGOING_IN_PUSH_ITF_NAME, OUTGOING_OUT_PUSH_ITF_NAME |
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController |
---|
STARTED, STOPPED |
Constructor Summary | |
---|---|
AddIPExportIdChunkImpl()
|
Method Summary | |
---|---|
void |
bindFc(String clientItfName,
Object serverItf)
|
String |
getChunkName()
Returns the name of added chunks. |
String |
getHostname()
Returns the hostname put in chunks. |
int |
getPort()
Returns the port number put in chunks. |
String[] |
listFc()
|
void |
push(Message message)
|
void |
setChunkName(String chunkName)
Sets the name of the added chunk. |
void |
setHostname(String hostname)
Sets the hostname put in chunks. |
void |
setPort(int port)
Sets the port number put in chunks. |
Methods inherited from class org.objectweb.dream.AbstractComponent |
---|
beforeFirstStart, bindFc, getFcNeedAsyncStart, getFcState, initComponent, lookupFc, prepareStopFc, setLogger, startFc, stopFc, unbindFc |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected IPExportIdentifier exportIdentifier
protected ChunkFactoryReference<ExportIdentifierChunk> exportIdChunkFactory
protected String chunkName
protected String hostname
protected int port
protected Push outPushItf
protected MessageManager messageManagerItf
Constructor Detail |
---|
public AddIPExportIdChunkImpl()
Method Detail |
---|
public void push(Message message) throws PushException
push
in interface Push
PushException
Push.push(Message)
public String getChunkName()
AddIPExportIdChunkAttributeController
getChunkName
in interface AddIPExportIdChunkAttributeController
AddIPExportIdChunkAttributeController.getChunkName()
public void setChunkName(String chunkName)
AddIPExportIdChunkAttributeController
setChunkName
in interface AddIPExportIdChunkAttributeController
chunkName
- the name of added chunks .AddIPExportIdChunkAttributeController.setChunkName(String)
public String getHostname()
AddIPExportIdChunkAttributeController
getHostname
in interface AddIPExportIdChunkAttributeController
AddIPExportIdChunkAttributeController.getHostname()
public void setHostname(String hostname)
AddIPExportIdChunkAttributeController
setHostname
in interface AddIPExportIdChunkAttributeController
hostname
- the hostname put in chunks.AddIPExportIdChunkAttributeController.setHostname(String)
public int getPort()
AddIPExportIdChunkAttributeController
getPort
in interface AddIPExportIdChunkAttributeController
AddIPExportIdChunkAttributeController.getPort()
public void setPort(int port)
AddIPExportIdChunkAttributeController
setPort
in interface AddIPExportIdChunkAttributeController
port
- the port number put in chunks.AddIPExportIdChunkAttributeController.setPort(int)
public String[] listFc()
listFc
in interface BindingController
BindingController.listFc()
public void bindFc(String clientItfName, Object serverItf) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException
bindFc
in interface BindingController
bindFc
in class AbstractComponent
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
BindingController.bindFc(String,
Object)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |