public class JavaCardRemoteServer extends UnicastRemoteObject implements JavaCardRemoteInterface
| Modifier and Type | Field and Description |
|---|---|
protected Simulator |
sim |
refRMI_SERVER_ID| Constructor and Description |
|---|
JavaCardRemoteServer(String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
void |
changeProtocol(String protocol)
Implementation
|
SerializableAID |
createApplet(SerializableAID aid,
byte[] bArray,
short bOffset,
byte bLength)
Implementation
|
byte[] |
getATR()
Implementation
|
String |
getProtocol()
Implementation
|
SerializableAID |
loadApplet(SerializableAID aid,
String appletClassName)
Implementation
|
SerializableAID |
loadApplet(SerializableAID aid,
String appletClassName,
byte[] appletJarContents)
Implementation
|
static void |
main(String[] args) |
void |
reset()
Implementation
|
boolean |
selectApplet(SerializableAID aid)
Implementation
|
byte[] |
selectAppletWithResult(SerializableAID aid)
Implementation
|
byte[] |
transmitCommand(byte[] data)
Implementation
|
clone, exportObject, exportObject, exportObject, unexportObjectgetClientHost, getLog, setLogprotected final Simulator sim
public JavaCardRemoteServer(String host, int port) throws RemoteException
RemoteExceptionpublic SerializableAID loadApplet(SerializableAID aid, String appletClassName) throws RemoteException
loadApplet in interface JavaCardRemoteInterfaceRemoteExceptionpublic SerializableAID loadApplet(SerializableAID aid, String appletClassName, byte[] appletJarContents) throws RemoteException
loadApplet in interface JavaCardRemoteInterfaceRemoteExceptionpublic SerializableAID createApplet(SerializableAID aid, byte[] bArray, short bOffset, byte bLength) throws RemoteException
createApplet in interface JavaCardRemoteInterfaceRemoteExceptionpublic byte[] transmitCommand(byte[] data)
throws RemoteException
transmitCommand in interface JavaCardRemoteInterfaceRemoteExceptionpublic boolean selectApplet(SerializableAID aid) throws RemoteException
selectApplet in interface JavaCardRemoteInterfaceRemoteExceptionpublic void reset()
throws RemoteException
reset in interface JavaCardRemoteInterfaceRemoteExceptionpublic byte[] getATR()
throws RemoteException
getATR in interface JavaCardRemoteInterfaceRemoteExceptionpublic void changeProtocol(String protocol) throws RemoteException
changeProtocol in interface JavaCardRemoteInterfaceRemoteExceptionpublic String getProtocol() throws RemoteException
getProtocol in interface JavaCardRemoteInterfaceRemoteExceptionpublic byte[] selectAppletWithResult(SerializableAID aid) throws RemoteException
selectAppletWithResult in interface JavaCardRemoteInterfaceRemoteException