PageBoxLib
Interface TokenSendIF

All Known Implementing Classes:
TokenCallbackImpl.Sender

public interface TokenSendIF

Token ring send interface.

alexis.grandemange@pagebox.net

Copyright (c) 2002-2004 Alexis Grandemange

This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public License
 as published by the Free Software Foundation; version 2.1 of the
 License.
 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU Lesser General Public License for more details.
 A copy of the GNU Lesser General Public License lesser.txt should be
 included in the distribution.

Version:
0, 0, 11
Author:
Alexis Grandemange

Method Summary
 boolean isRegistered()
           
 int send(java.lang.String type, java.lang.String target, java.io.Serializable data)
          Send a message.
 

Method Detail

send

public int send(java.lang.String type,
                java.lang.String target,
                java.io.Serializable data)
Send a message.

Parameters:
type - request type
target - target PageBox
data - payload
Returns:
correlation ID

isRegistered

public boolean isRegistered()
Returns:
true if the archive is registered (if the archive can receive answers)