|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.server.AssemblyLineComponent
com.ibm.di.server.ReplyChannelComponent
public class ReplyChannelComponent
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Field Summary |
---|
Fields inherited from class com.ibm.di.server.AssemblyLineComponent |
---|
addmap, CHECKPOINT_GETS, config, connConfig, connector, connPool, END_OF_DATA, handler, HOOKS_INVOKED, imap, INITIALIZE, initializeCount, LAST_CONN, LAST_ERROR, log, modmap, name, NUM_ADD, NUM_CALLREPLY, NUM_DELETE, NUM_ERRORS, NUM_GET, NUM_GET_TRIES, NUM_GETCLIENT, NUM_GETCLIENT_TRIES, NUM_IGNORED, NUM_LOOKUP, NUM_MODIFY, NUM_NOCHANGE, NUM_SKIPPED, parent, pooledConnector, reusingConnector, SELECT, stats, SUCCESSFUL |
Constructor Summary | |
---|---|
ReplyChannelComponent(AssemblyLineComponent comp)
|
|
ReplyChannelComponent(ConnectorConfig config)
Deprecated. |
Method Summary | |
---|---|
java.lang.String |
getName()
This method returns the name assigned to the Connector by the AssemblyLine, followed by ".reply" |
int |
getType()
This method returns the mode of a Connector, or the type constant for any other type of component. |
void |
reply(Entry meta)
This method implements the reply operation that is used in Server mode. |
boolean |
trigger(java.lang.String oper,
Entry work)
Calls the hook named oper, declaring work as the corresponding bean. |
boolean |
trigger(java.lang.String oper,
Entry work,
Entry conn)
Calls the hook named oper, declaring work and conn as the corresponding beans. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Constructor Detail |
---|
public ReplyChannelComponent(ConnectorConfig config)
public ReplyChannelComponent(AssemblyLineComponent comp)
Method Detail |
---|
public int getType()
AssemblyLineComponent
ServerConstants.TYPE_ITERATOR
= 0
ServerConstants.TYPE_UPDATE
= 1
ServerConstants.TYPE_LOOKUP
= 2
ServerConstants.TYPE_DELETE
= 3
ServerConstants.TYPE_ADDONLY
= 4
ServerConstants.TYPE_CALLREPLY
= 5
ServerConstants.TYPE_SCRIPT
= 6
ServerConstants.TYPE_FUNCTION
= 7
ServerConstants.TYPE_BRANCH
= 8
ServerConstants.TYPE_REPLYCHANNEL
= 9
ServerConstants.TYPE_SERVER
= 10
ServerConstants.TYPE_DELTA
= 11
ServerConstants.TYPE_LOOP
= 12
ServerConstants.TYPE_ATTRIBUTEMAP
= 13
ServerConstants.TYPE_SWITCH
= 14
ServerConstants.TYPE_CASE
= 15
getType
in class AssemblyLineComponent
public void reply(Entry meta) throws java.lang.Exception
reply
in class AssemblyLineComponent
meta
- The work entry to add
java.lang.Exception
- the underlying AssemblyLineComponent is missing or raised
an errorpublic boolean trigger(java.lang.String oper, Entry work, Entry conn) throws java.lang.Exception
trigger
in class AssemblyLineComponent
oper
- Name of the hook to callwork
- This will be the work bean in the hookconn
- This will be the conn bean in the hook
java.lang.Exception
- Any exception thrown by the execution of the hookpublic boolean trigger(java.lang.String oper, Entry work) throws java.lang.Exception
trigger
in class AssemblyLineComponent
oper
- Name of the hook to callwork
- This will be the work bean in the hook
java.lang.Exception
- Any exception thrown by the execution of the hookpublic java.lang.String getName()
getName
in class AssemblyLineComponent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |