public interface IPiece<PARTNER extends IPiece>
Modifier and Type | Method and Description |
---|---|
<T> T |
__exec(T obj,
java.lang.String flg) |
Chain.ConnectionResultOutConnector |
appended(PathType type,
IPiece from,
PathPack.OutPathPack.Output output)
Check and accept connection from other piece.
|
Chain.ConnectionResultPath |
appendTo(PathType type,
IPiece target_piece,
PathType type_target)
Check and append this piece to target piece.
|
IPath |
detach(IPiece y) |
void |
detached(IPiece _cp_end)
Check and detach this piece from target piece.
|
IPiece |
end() |
int |
getId() |
PathPack.InPathPack |
getInPack(PathType packtype) |
java.lang.String |
getName() |
PathPack.OutPathPack |
getOutPack(PathType stack) |
PathType |
getPackType(IPiece cp) |
java.util.Collection<PARTNER> |
getPartners() |
java.util.Collection<PARTNER> |
getPartners(PathType pathType,
boolean out) |
java.lang.String |
getTag() |
boolean |
isConnectedTo(IPiece target)
Check connection between this object and secondpiece.
|
boolean |
isConnectedTo(IPiece target,
PathType type) |
boolean |
isConnectedTo(PathType type,
boolean out) |
ChainPiece.LogCase |
L(java.lang.String format) |
void |
setPartner(IPath chainPath,
IPiece _cp_start,
PathType type_in) |
void |
setTag(java.lang.String tag) |
Chain.ConnectionResultOutConnector appended(PathType type, IPiece from, PathPack.OutPathPack.Output output) throws Chain.ChainException
type
- PackType of this piecefrom
- Piece from whom connection offeredoutput
- Output typeChain.ChainException
Chain.ConnectionResultPath appendTo(PathType type, IPiece target_piece, PathType type_target) throws Chain.ChainException
type
- Packtype of this piecetarget_piece
- IPiece of target piecetype_target
- PackType of target pieceChain.ChainException
void detached(IPiece _cp_end)
_cp_end
- IPiece of target pieceChain.ChainException
java.util.Collection<PARTNER> getPartners()
boolean isConnectedTo(IPiece target)
target
- boolean isConnectedTo(PathType type, boolean out)
IPiece end()
java.lang.String getName()
int getId()
<T> T __exec(T obj, java.lang.String flg)
PathPack.OutPathPack getOutPack(PathType stack)
PathPack.InPathPack getInPack(PathType packtype)
java.lang.String getTag()
void setTag(java.lang.String tag)
ChainPiece.LogCase L(java.lang.String format)