|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BusOutgoingPush
Specialized OutgoingPush
interface for
bus protocol. Each message is sent to a protocol instance in the bus.
Method Summary | |
---|---|
int |
getBusSize()
Returns the size of the bus. |
int |
getLocalAddress()
Returns the address of this protocol instance in the bus. |
void |
outgoingClose(IncomingPush incomingPush)
Closes the communication channel. |
void |
outgoingPush(Message message,
int to)
Gives an outgoing message to a protocol. |
Method Detail |
---|
void outgoingPush(Message message, int to) throws PushException
message
- the message to give to the component.to
- the address in the bus of the receiver of the message.
PushException
- if an exception occurs.void outgoingClose(IncomingPush incomingPush) throws IOException
IncomingPush.incomingClosed(java.lang.Object, java.lang.Exception)
method, since this latter
is only used to inform a upper session that a lower session has been closed
unexpectedly.
incomingPush
- the interface on which incoming messages of the closed
communication channel were received.
IOException
- the closing process failed.int getLocalAddress()
int getBusSize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |